x86, io_apic: Remove irq_remapping_enabled check in setup_timer_IRQ0_pin
authorJoerg Roedel <joro@8bytes.org>
Wed, 26 Sep 2012 10:44:42 +0000 (12:44 +0200)
committerJoerg Roedel <joro@8bytes.org>
Mon, 28 Jan 2013 11:17:26 +0000 (12:17 +0100)
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>
arch/x86/kernel/apic/io_apic.c

index aa2b753601151c997ab6ae0c35a906a56d4ad1cb..ee0757db34ec90e5f55adfe710e5335b266b40af 100644 (file)
@@ -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));
 
        /*