Skip to content

Commit

Permalink
x86, io_apic: Remove irq_remapping_enabled check in setup_timer_IRQ0_pin
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joerg Roedel committed Jan 28, 2013
1 parent 6a9f5de commit 1d25442
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/kernel/apic/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

/*
Expand Down

0 comments on commit 1d25442

Please sign in to comment.