mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
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>
This commit is contained in:
parent
28c6a0ba30
commit
9eeeb09edb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user