summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/x86_init.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-04-24 13:57:48 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-04-24 15:36:54 +0200
commitca1b88622e9c16df7b1e0a57e9c6c2300321bed4 (patch)
tree6807aad02f5210e30c1b8250ef4e02b0efd42212 /arch/x86/kernel/x86_init.c
parent9a93d4736ec5ec322ec8f240a292c1a86cd0876d (diff)
downloadlinux-ca1b88622e9c16df7b1e0a57e9c6c2300321bed4.tar.gz
linux-ca1b88622e9c16df7b1e0a57e9c6c2300321bed4.tar.bz2
linux-ca1b88622e9c16df7b1e0a57e9c6c2300321bed4.zip
x86: Remove more unmodified io_apic_ops
io_apic_ops.init() is either NULL, if IO-APIC support is disabled at compile time or native_io_apic_init_mappings(). No point to have that as we can achieve the same thing with an empty inline. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r--arch/x86/kernel/x86_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c
index 633f07845099..3cee10abf01d 100644
--- a/arch/x86/kernel/x86_init.c
+++ b/arch/x86/kernel/x86_init.c
@@ -139,7 +139,6 @@ void arch_restore_msi_irqs(struct pci_dev *dev)
#endif
struct x86_io_apic_ops x86_io_apic_ops = {
- .init = native_io_apic_init_mappings,
.read = native_io_apic_read,
.disable = native_disable_io_apic,
};