Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ed972ccf authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

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: default avatarThomas Gleixner <tglx@linutronix.de>
parent c8d6b8fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment