diff options
author | 2009-06-08 03:32:15 -0700 | |
---|---|---|
committer | 2009-07-14 13:32:50 -0700 | |
commit | 4eea6fff612f54380dd642b045bf03ac0613fe3e (patch) | |
tree | e3b28e7b23070ce6e871114875256e77585ea8e0 /lib/spinlock_debug.c | |
parent | x86/ioapic.c: convert replace_pin_at_irq_node to conventional for() loop (diff) | |
download | linux-rng-4eea6fff612f54380dd642b045bf03ac0613fe3e.tar.xz linux-rng-4eea6fff612f54380dd642b045bf03ac0613fe3e.zip |
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>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions