]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/irq/handle.c
genirq: cleanup the sparseirq modifications
[linux-2.6-omap-h63xx.git] / kernel / irq / handle.c
index 9fe86b3a60a583027bc13bd7276401e19869d1eb..a69368ff607fc4e768feb13b013af035639eae80 100644 (file)
@@ -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);
 }