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-Tag: v3.9-rc1~169^2~1^2~9 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=1d254428c0ba30a0fbb8112d875ba64f4e60db25;p=~andy%2Flinux 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 aa2b7536011..ee0757db34e 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)); /*