From: Joerg Roedel Date: Wed, 26 Sep 2012 10:44:42 +0000 (+0200) Subject: x86, io_apic: Remove irq_remapping_enabled check in setup_timer_IRQ0_pin X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1d254428c0ba30a0fbb8112d875ba64f4e60db25;p=linux-beck.git 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 Acked-by: Sebastian Andrzej Siewior Reviewed-by: Konrad Rzeszutek Wilk --- 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)); /*