diff options
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 = { | |||
68 | */ | 68 | */ |
69 | static void ack_bad(unsigned int irq) | 69 | static void ack_bad(unsigned int irq) |
70 | { | 70 | { |
71 | struct irq_desc *desc; | 71 | struct irq_desc *desc = irq_to_desc(irq); |
72 | 72 | ||
73 | desc = irq_to_desc(irq); | ||
74 | print_irq_desc(irq, desc); | 73 | print_irq_desc(irq, desc); |
75 | ack_bad_irq(irq); | 74 | ack_bad_irq(irq); |
76 | } | 75 | } |