]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86, legacy_irq: Remove duplicate vector assigment
authorYinghai Lu <yinghai@kernel.org>
Wed, 24 Feb 2010 02:49:04 +0000 (18:49 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 24 Feb 2010 19:01:34 +0000 (11:01 -0800)
Remove duplicated cfg[i].vector assignment.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4B8493A0.6080501@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/apic/io_apic.c

index b9d08f0e1e33a6a433cf75c9c57ea1ff5d1afcf0..b758d49b811ce6e7b3ba00059aad62a0b8b914ff 100644 (file)
@@ -161,8 +161,6 @@ int __init arch_early_irq_init(void)
        node= cpu_to_node(boot_cpu_id);
 
        for (i = 0; i < count; i++) {
-               if (i < legacy_pic->nr_legacy_irqs)
-                       cfg[i].vector = IRQ0_VECTOR + i;
                desc = irq_to_desc(i);
                desc->chip_data = &cfg[i];
                zalloc_cpumask_var_node(&cfg[i].domain, GFP_NOWAIT, node);