genirq: Remove redundant NULL check of irq_desc
authorJianyu Zhan <nasa4836@gmail.com>
Sat, 19 Mar 2016 13:59:19 +0000 (21:59 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 10 Jun 2016 15:07:49 +0000 (17:07 +0200)
commitfe3464ca8710012a247bb4586dde21b080f88514
treeb3621e916fc220903f321d13e5b48705d7eaff67
parentaf8c34ce6ae32addda3788d54a7e340cad22516b
genirq: Remove redundant NULL check of irq_desc

for_each_irq_desc() macro has already skipped NULL irq_desc, don't
bother to check it again.

Signed-off-by: Jianyu Zhan <nasa4836@gmail.com>
Cc: mingo@kernel.org
Cc: yhlu.kernel@gmail.com
Link: http://lkml.kernel.org/r/1458395959-7046-1-git-send-email-nasa4836@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/proc.c