sched/irq: Remove the code which zero out g_irqvector fields
since the boot up code already do it Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
d9a442a859
commit
2ce62bb583
|
@ -73,17 +73,6 @@ void irq_initialize(void)
|
|||
for (i = 0; i < TAB_SIZE; i++)
|
||||
{
|
||||
g_irqvector[i].handler = irq_unexpected_isr;
|
||||
g_irqvector[i].arg = NULL;
|
||||
#ifdef CONFIG_SCHED_IRQMONITOR
|
||||
g_irqvector[i].start = 0;
|
||||
#ifdef CONFIG_HAVE_LONG_LONG
|
||||
g_irqvector[i].count = 0;
|
||||
#else
|
||||
g_irqvector[i].mscount = 0;
|
||||
g_irqvector[i].lscount = 0;
|
||||
#endif
|
||||
g_irqvector[i].time = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IRQCHAIN
|
||||
|
|
Loading…
Reference in New Issue