x86/irq: Move irq_cfg.irq_2_pin into io_apic.c
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / apic / vector.c
index 37bb9e82b919e4fc593fc92611c727a5cd566570..af224e6774d86b014a699db69d2e85c21df15c79 100644 (file)
@@ -68,9 +68,6 @@ static struct irq_cfg *alloc_irq_cfg(int node)
                goto out_cfg;
        if (!zalloc_cpumask_var_node(&cfg->old_domain, GFP_KERNEL, node))
                goto out_domain;
-#ifdef CONFIG_X86_IO_APIC
-       INIT_LIST_HEAD(&cfg->irq_2_pin);
-#endif
        return cfg;
 out_domain:
        free_cpumask_var(cfg->domain);