diff options
author | Eugene Konev <ejka@imfi.kspu.ru> | 2007-09-12 12:27:06 +0000 |
---|---|---|
committer | Eugene Konev <ejka@imfi.kspu.ru> | 2007-09-12 12:27:06 +0000 |
commit | 89333ac8f75fa35be2fd0a2d0d1ad9b35bd527c5 (patch) | |
tree | 59d817e3da69acf6ae6ae5db457b8b085546ee6f /target/linux/ar7/files | |
parent | db5e1437566072cca83e9f11e90c6779a0f0b03b (diff) | |
download | mtk-20170518-89333ac8f75fa35be2fd0a2d0d1ad9b35bd527c5.zip mtk-20170518-89333ac8f75fa35be2fd0a2d0d1ad9b35bd527c5.tar.gz mtk-20170518-89333ac8f75fa35be2fd0a2d0d1ad9b35bd527c5.tar.bz2 |
there is no need in two identical actions
SVN-Revision: 8760
Diffstat (limited to 'target/linux/ar7/files')
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/irq.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/irq.c b/target/linux/ar7/files/arch/mips/ar7/irq.c index 074a51c..0134851 100644 --- a/target/linux/ar7/files/arch/mips/ar7/irq.c +++ b/target/linux/ar7/files/arch/mips/ar7/irq.c @@ -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); } |