Browse Source

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>
Joerg Roedel 12 years ago
parent
commit
1d254428c0
1 changed files with 0 additions and 3 deletions
  1. 0 3
      arch/x86/kernel/apic/io_apic.c

+ 0 - 3
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));
 
 	/*