]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7317/1: irq: avoid NULL check in for_each_irq_desc loop
authorWill Deacon <will.deacon@arm.com>
Fri, 3 Feb 2012 13:50:07 +0000 (14:50 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:42 +0000 (08:34 +0200)
commit8da8d564585f51ae3ead37099711cd50edab7b66
tree34490fdd6e496ffc10546e3bea3a3290b07e4d4e
parent445854a1931fd1a4b628ed1ad1cee10669dac226
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