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-Tag: v2.6.19~7^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f7a23328a738b45124400d85eaf78a76939da726;p=linux-2.6-omap-h63xx.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 14654e68241..c80081a6ba4 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]))