Commit 1d254428 authored by Joerg Roedel's avatar Joerg Roedel

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: default avatarJoerg Roedel <joro@8bytes.org>
Acked-by: default avatarSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 6a9f5de2
......@@ -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));
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment