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:
Xiang Xiao 2022-03-12 04:05:36 +08:00 committed by Gustavo Henrique Nihei
parent d9a442a859
commit 2ce62bb583

View File

@ -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