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>
This commit is contained in:
Joerg Roedel 2012-09-26 12:44:42 +02:00
parent 6a9f5de272
commit 1d254428c0

View 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));
/*