]> git.baikalelectronics.ru Git - kernel.git/commit
irqdomain: Drop pointless NULL check in virq_debug_show_one
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Sun, 12 Nov 2017 21:29:03 +0000 (22:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 12 Nov 2017 22:25:40 +0000 (23:25 +0100)
commit7481c6835950c9ddb44dcc943477550a2efee6f2
treef3343c4082655adec7842e418ef4b7c38a4b6401
parent35d1f1c9114f66294c422db30ccede5a69537eec
irqdomain: Drop pointless NULL check in virq_debug_show_one

data has been already derefenced unconditionally, so it's pointless to do a
NULL pointer check on it afterwards. Drop it.

[ tglx: Depersonify changelog. ]

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/20171112212904.28574-1-linux@rasmusvillemoes.dk
kernel/irq/irqdomain.c