From: Thomas Gleixner Date: Wed, 23 Feb 2011 13:31:36 +0000 (+0100) Subject: x86: ioapic: Split out the nested loop in setup_IO_APIC_irqs() X-Git-Tag: v2.6.39-rc1~503^2~10^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed972ccf434a9881a5881915ae04602af2776bad;p=pandora-kernel.git x86: ioapic: Split out the nested loop in setup_IO_APIC_irqs() 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 --- Reading git-diff-tree failed