powerpc/85xx: remove setup_irq(NULL action) in ksi8560
authorThomas Gleixner <tglx@linutronix.de>
Tue, 10 Mar 2009 18:43:58 +0000 (18:43 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 11 Mar 2009 11:00:06 +0000 (06:00 -0500)
setup_irq(0, NULL) is broken as setup_irq() dereferences action
unconditionally.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/ksi8560.c

index 81cee7bbf2d231b2a35bdc963e7e7df71b79d2b3..66f29235ff09aee34d39ff7c8bce942a7fb88a25 100644 (file)
@@ -106,8 +106,6 @@ static void __init ksi8560_pic_init(void)
        cpm2_pic_init(np);
        of_node_put(np);
        set_irq_chained_handler(irq, cpm2_cascade);
-
-       setup_irq(0, NULL);
 #endif
 }