summaryrefslogtreecommitdiffstats
path: root/kernel/irq/autoprobe.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-28 13:32:20 +0200
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 14:48:19 +0200
commit0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1 (patch)
treeb4b0cb4b619368bc93ff883f4b667e05a185549b /kernel/irq/autoprobe.c
parentdced35aeb0367dda2636ee9ee914bda14510dcc9 (diff)
downloadlinux-0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1.tar.gz
linux-0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1.tar.bz2
linux-0c6f8a8b917ad361319c8ace3e9f28e69bfdb4c1.zip
genirq: Remove compat code
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/autoprobe.c')
-rw-r--r--kernel/irq/autoprobe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/irq/autoprobe.c b/kernel/irq/autoprobe.c
index 394784c57060..342d8f44e401 100644
--- a/kernel/irq/autoprobe.c
+++ b/kernel/irq/autoprobe.c
@@ -70,10 +70,8 @@ unsigned long probe_irq_on(void)
raw_spin_lock_irq(&desc->lock);
if (!desc->action && irq_settings_can_probe(desc)) {
desc->istate |= IRQS_AUTODETECT | IRQS_WAITING;
- if (irq_startup(desc)) {
- irq_compat_set_pending(desc);
+ if (irq_startup(desc))
desc->istate |= IRQS_PENDING;
- }
}
raw_spin_unlock_irq(&desc->lock);
}