diff options
author | Joerg Roedel <joro@8bytes.org> | 2012-09-26 14:44:42 +0400 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-01-28 15:17:26 +0400 |
commit | 1d254428c0ba30a0fbb8112d875ba64f4e60db25 (patch) | |
tree | 11bf707d950a746ee8a9d304d5c6a6fa8da6b511 /arch/x86/kernel | |
parent | 6a9f5de27216801b4e38ccd8aa0168a5dd8eca9b (diff) | |
download | linux-1d254428c0ba30a0fbb8112d875ba64f4e60db25.tar.xz |
x86, io_apic: Remove irq_remapping_enabled check in setup_timer_IRQ0_pin
This function is only called when irq-remapping is disabled.
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index aa2b75360115..ee0757db34ec 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c @@ -1475,9 +1475,6 @@ static void __init setup_timer_IRQ0_pin(unsigned int ioapic_idx, struct IO_APIC_route_entry entry; unsigned int dest; - if (irq_remapping_enabled) - return; - memset(&entry, 0, sizeof(entry)); /* |