]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Remove redundant NULL pointer check in __free_irq()
authorRAGHU Halharvi <raghuhack78@gmail.com>
Tue, 17 Jul 2018 10:20:09 +0000 (15:50 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 17 Jul 2018 11:35:44 +0000 (13:35 +0200)
commitea6bcc00ad6d650c4a5b2d97d59b3ccfe6966276
tree79a47e8f19747373471a978a1d8dbad330bea707
parent21cd120f39b879ec4b3a1859b0da1562e1253b3b
genirq: Remove redundant NULL pointer check in __free_irq()

The NULL pointer check in __free_irq() triggers a 'dereference before NULL
pointer check' warning in static code analysis. It turns out that the check
is redundant because all callers have a NULL pointer check already.

Remove it.

Signed-off-by: RAGHU Halharvi <raghuhack78@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20180717102009.7708-1-raghuhack78@gmail.com
kernel/irq/manage.c