x86, io-apic: Remove !irq_remapped() check from __target_IO_APIC_irq()
authorJoerg Roedel <joro@8bytes.org>
Wed, 26 Sep 2012 10:44:46 +0000 (12:44 +0200)
committerJoerg Roedel <joro@8bytes.org>
Mon, 28 Jan 2013 11:17:27 +0000 (12:17 +0100)
commit9f9d39e403faf5e1a22334fe4df96516e4f389a8
treee181e0166d2c7eb29c0ee3f29d844b8a764c226f
parent9b1b0e42f54bc452817f4bb6a8d939afe4f04303
x86, io-apic: Remove !irq_remapped() check from __target_IO_APIC_irq()

This function is only called from default_ioapic_set_affinity()
which is only used when interrupt remapping is disabled
since the introduction of the set_affinity function pointer.
So the check will always evaluate as true and can be
removed.

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