]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
genirq/debugfs: Remove pointless NULL pointer check
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 Jun 2017 09:05:59 +0000 (11:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 Jun 2017 09:43:53 +0000 (11:43 +0200)
commitc2ce34c0a0e5187195ecade872be950d2611ba68
treeb0953c50658cc35611efa5486fc984e5f7f3fbbe
parent8d9d51b62e8558bbc11c6b978acad001f9ea7a42
genirq/debugfs: Remove pointless NULL pointer check

debugfs_remove() has it's own NULL pointer check. Remove the conditional
and make irq_remove_debugfs_entry() an inline helper

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/debugfs.c
kernel/irq/internals.h