From: Jeremy Fitzhardinge Date: Mon, 8 Jun 2009 10:32:15 +0000 (-0700) Subject: x86/ioapic.c: clean up replace_pin_at_irq_node logic and comments X-Git-Tag: v2.6.32-rc1~715^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eea6fff612f54380dd642b045bf03ac0613fe3e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed