there is no need in two identical actions
authorEugene Konev <ejka@imfi.kspu.ru>
Wed, 12 Sep 2007 12:27:06 +0000 (12:27 +0000)
committerEugene Konev <ejka@imfi.kspu.ru>
Wed, 12 Sep 2007 12:27:06 +0000 (12:27 +0000)
SVN-Revision: 8760

target/linux/ar7/files/arch/mips/ar7/irq.c

index 074a51c186ff68330ed3448da8ae99c8448c27d1..0134851843ac5f0a41274fd0f0f4b87110c69db6 100644 (file)
@@ -71,15 +71,9 @@ static struct irq_chip ar7_sec_irq_type = {
 
 static struct irqaction ar7_cascade_action = {
        .handler = no_action,
-
        .name = "AR7 cascade interrupt"
 };
 
-static struct irqaction ar7_sec_cascade_action = {
-       .handler = no_action,
-       .name = "AR7 secondary cascade interrupt"
-};
-
 static void ar7_unmask_irq(unsigned int irq)
 {
        writel(1 << ((irq - ar7_irq_base) % 32),
@@ -146,7 +140,7 @@ static void __init ar7_irq_init(int base)
        }
 
        setup_irq(2, &ar7_cascade_action);
-       setup_irq(ar7_irq_base, &ar7_sec_cascade_action);
+       setup_irq(ar7_irq_base, &ar7_cascade_action);
        set_c0_status(IE_IRQ0);
 }