Skip to content
Commit d91cfeb0 authored by RAGHU Halharvi's avatar RAGHU Halharvi Committed by Thomas Gleixner
Browse files

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: default avatarRAGHU Halharvi <raghuhack78@gmail.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20180717102009.7708-1-raghuhack78@gmail.com
parent 519cc865
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment