x86/ioapic.c: clean up replace_pin_at_irq_node logic and comments
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 8 Jun 2009 10:32:15 +0000 (03:32 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 14 Jul 2009 20:32:50 +0000 (13:32 -0700)
commit4eea6fff612f54380dd642b045bf03ac0613fe3e
treee3b28e7b23070ce6e871114875256e77585ea8e0
parent535b64291a9d1ff8bc54642494a5fce27e1e1170
x86/ioapic.c: clean up replace_pin_at_irq_node logic and comments

There's no need for a control variable in replace_pin_at_irq_node();
it can just return if it finds the old apic/pin to replace.

If the loop terminates, then it didn't find the old apic/pin, so it can
add the new ones.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/kernel/apic/io_apic.c