diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-02-23 18:49:04 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-24 11:01:34 -0800 |
commit | 9eeeb09edba1e3544526611663472743ca584d36 (patch) | |
tree | 09216be18939564acf419b85863ea28aea552f6c /arch/x86/kernel | |
parent | 28c6a0ba30457380b140d9d7a61530eda8969180 (diff) | |
download | talos-op-linux-9eeeb09edba1e3544526611663472743ca584d36.tar.gz talos-op-linux-9eeeb09edba1e3544526611663472743ca584d36.zip |
x86, legacy_irq: Remove duplicate vector assigment
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>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index b9d08f0e1e33..b758d49b811c 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c @@ -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); |