diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/au1000/common/irq.c | 1 | ||||
-rw-r--r-- | arch/mips/ite-boards/generic/irq.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/irq.c b/arch/mips/au1000/common/irq.c index 112beb7fe001..1339a0979f66 100644 --- a/arch/mips/au1000/common/irq.c +++ b/arch/mips/au1000/common/irq.c | |||
@@ -446,7 +446,6 @@ void __init arch_init_irq(void) | |||
446 | extern int au1xxx_ic0_nr_irqs; | 446 | extern int au1xxx_ic0_nr_irqs; |
447 | 447 | ||
448 | cp0_status = read_c0_status(); | 448 | cp0_status = read_c0_status(); |
449 | memset(irq_desc, 0, sizeof(irq_desc)); | ||
450 | set_except_vector(0, au1000_IRQ); | 449 | set_except_vector(0, au1000_IRQ); |
451 | 450 | ||
452 | /* Initialize interrupt controllers to a safe state. | 451 | /* Initialize interrupt controllers to a safe state. |
diff --git a/arch/mips/ite-boards/generic/irq.c b/arch/mips/ite-boards/generic/irq.c index 16014e6ebf50..e67f96129491 100644 --- a/arch/mips/ite-boards/generic/irq.c +++ b/arch/mips/ite-boards/generic/irq.c | |||
@@ -181,7 +181,6 @@ void __init arch_init_irq(void) | |||
181 | int i; | 181 | int i; |
182 | unsigned long flags; | 182 | unsigned long flags; |
183 | 183 | ||
184 | memset(irq_desc, 0, sizeof(irq_desc)); | ||
185 | set_except_vector(0, it8172_IRQ); | 184 | set_except_vector(0, it8172_IRQ); |
186 | 185 | ||
187 | /* mask all interrupts */ | 186 | /* mask all interrupts */ |