From: Ralf Baechle Date: Fri, 30 Sep 2005 23:03:42 +0000 (+0100) Subject: Don't call memset to clean irq_desc; these data fields have already X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3959c7957f0ab758066c8779483b18179c355257;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Don't call memset to clean irq_desc; these data fields have already previously been initialized statically in kernel/irq/handle.c. Signed-off-by: Ralf Baechle --- 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) extern int au1xxx_ic0_nr_irqs; cp0_status = read_c0_status(); - memset(irq_desc, 0, sizeof(irq_desc)); set_except_vector(0, au1000_IRQ); /* 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) int i; unsigned long flags; - memset(irq_desc, 0, sizeof(irq_desc)); set_except_vector(0, it8172_IRQ); /* mask all interrupts */