From: Andi Kleen Date: Tue, 28 Nov 2006 19:12:59 +0000 (+0100) Subject: [PATCH] x86-64: Fix warning in io_apic.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f7a23328a738b45124400d85eaf78a76939da726;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [PATCH] x86-64: Fix warning in io_apic.c --- diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index 14654e682411..c80081a6ba41 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c @@ -754,10 +754,8 @@ void __setup_vector_irq(int cpu) { /* Initialize vector_irq on a new cpu */ /* This function must be called with vector_lock held */ - unsigned long flags; int irq, vector; - /* Mark the inuse vectors */ for (irq = 0; irq < NR_IRQ_VECTORS; ++irq) { if (!cpu_isset(cpu, irq_domain[irq]))