x86: ioapic: Split out the nested loop in setup_IO_APIC_irqs()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 23 Feb 2011 13:31:36 +0000 (14:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 23 Feb 2011 16:26:49 +0000 (17:26 +0100)
Two consecutive

    for(...)
    for(...)

lines to avoid an extra indentation are just horrible to read. I had
to look more than once to figure out what the code is doing.

Split out the inner loop into a separate function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found