diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-10-16 11:55:00 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 18:53:29 +0400 |
commit | d3c60047bdb03199b93497ac40bd531315d43a86 (patch) | |
tree | 858b74f422b1c79be54d2050d23c51999d312566 /kernel/irq/handle.c | |
parent | a1aca5de08a0cb840a90fb3f729a5940f8d21185 (diff) | |
download | linux-d3c60047bdb03199b93497ac40bd531315d43a86.tar.xz |
genirq: cleanup the sparseirq modifications
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r-- | kernel/irq/handle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 9fe86b3a60a5..a69368ff607f 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c @@ -68,9 +68,8 @@ struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = { */ static void ack_bad(unsigned int irq) { - struct irq_desc *desc; + struct irq_desc *desc = irq_to_desc(irq); - desc = irq_to_desc(irq); print_irq_desc(irq, desc); ack_bad_irq(irq); } |