irq: refactor and clean up the free_irq() code flow
authorIngo Molnar <mingo@elte.hu>
Sun, 15 Feb 2009 10:29:50 +0000 (11:29 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 15 Feb 2009 10:36:49 +0000 (11:36 +0100)
commitae88a23b32fa7e0dc9fa7ce735966e68eb41b0bc
tree39f39938fe6d197e0c1c74ecec649833a3321a68
parent327ec5699c29454322d0136375f717f509c145b6
irq: refactor and clean up the free_irq() code flow

Impact: cleanup

- separate out the loop from the actual freeing logic, this wins us
  two indentation levels allowing a number of followup prettifications

- turn the WARN_ON() into a more informative WARN().

- clean up the comments and the code flow some more

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/manage.c