aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorEugene Konev <ejka@openwrt.org>2007-09-12 12:27:06 +0000
committerEugene Konev <ejka@openwrt.org>2007-09-12 12:27:06 +0000
commit6c126cc6c972ae382f8fcd180db6b2e5cb0f0591 (patch)
tree169ce18636b94b333e83590fcef8aaa90a861625 /target
parent5fc0f0b3f41f128917cbb4a28214dee4d328d8a1 (diff)
downloadupstream-6c126cc6c972ae382f8fcd180db6b2e5cb0f0591.tar.gz
upstream-6c126cc6c972ae382f8fcd180db6b2e5cb0f0591.tar.bz2
upstream-6c126cc6c972ae382f8fcd180db6b2e5cb0f0591.zip
there is no need in two identical actions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8760 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/irq.c8
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 074a51c186..0134851843 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);
}