diff options
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-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) | |||
161 | node= cpu_to_node(boot_cpu_id); | 161 | node= cpu_to_node(boot_cpu_id); |
162 | 162 | ||
163 | for (i = 0; i < count; i++) { | 163 | for (i = 0; i < count; i++) { |
164 | if (i < legacy_pic->nr_legacy_irqs) | ||
165 | cfg[i].vector = IRQ0_VECTOR + i; | ||
166 | desc = irq_to_desc(i); | 164 | desc = irq_to_desc(i); |
167 | desc->chip_data = &cfg[i]; | 165 | desc->chip_data = &cfg[i]; |
168 | zalloc_cpumask_var_node(&cfg[i].domain, GFP_NOWAIT, node); | 166 | zalloc_cpumask_var_node(&cfg[i].domain, GFP_NOWAIT, node); |