genirq: Remove bogus conditional
authorThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 21:41:12 +0000 (21:41 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:10 +0000 (12:58 +0100)
commit3b56f0585fd4c02d047dc406668cb40159b2d340
tree99ac7c86428aeeaf4d8af51aad5753ac2e6d3af6
parent1535dfacbf21c4da1b73fcf07c39913da5bd5581
genirq: Remove bogus conditional

The if (chip->irq_shutdown) check will always evaluate to true, as we
fill in chip->irq_shutdown with default_shutdown in
irq_chip_set_defaults() if the chip does not provide its own function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110202212551.667607458@linutronix.de>
kernel/irq/manage.c