Commit 342d00ae authored by Will Deacon's avatar Will Deacon Committed by Russell King
Browse files

ARM: 7317/1: irq: avoid NULL check in for_each_irq_desc loop

ARM unconditionally selects CONFIG_GENERIC_HARDIRQS, so the definition
of for_each_irq_desc will check that the desc is non-NULL anyway.

This patch removes a redundant check from the IRQ migration code.
Signed-off-by: default avatarWill Deacon <>
Signed-off-by: default avatarRussell King <>
parent d33c88c6
......@@ -181,10 +181,7 @@ void migrate_irqs(void)
for_each_irq_desc(i, desc) {
bool affinity_broken = false;
if (!desc)
bool affinity_broken;
affinity_broken = migrate_one_irq(desc);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment