ARM: 7317/1: irq: avoid NULL check in for_each_irq_desc loop
commit342d00ae2b85af003f11036484a33e12e906fe92
authorWill Deacon <will.deacon@arm.com>
Fri, 3 Feb 2012 13:50:07 +0000 (3 14:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 09:38:53 +0000 (24 09:38 +0000)
tree626fdc7828fe672905b2801bef3540ce94431dd6
parentd33c88c659d708e7c5d518a05ef9349a36217bb2
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: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/irq.c