]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit306eb5a38dfc1a4c8a5c910c9844da6a97f2b9a4
treef3343c4082655adec7842e418ef4b7c38a4b6401
parent6714796edcce27f7a1845e2f79783cd51bb4799b
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