mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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 <tglx@linutronix.de>
This commit is contained in:
parent
c8d6b8fe72
commit
ed972ccf43
1 changed files with 13 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue