Commit 9eeeb09e authored by Yinghai Lu's avatar Yinghai Lu Committed by H. Peter Anvin

x86, legacy_irq: Remove duplicate vector assigment

Remove duplicated cfg[i].vector assignment.
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
LKML-Reference: <4B8493A0.6080501@kernel.org>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 28c6a0ba
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment