]> git.baikalelectronics.ru Git - kernel.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)
commit9a3b3027844d2301b1c26c85260d86694d9573cb
treeb0953c50658cc35611efa5486fc984e5f7f3fbbe
parente56fca12f7deeb85c0689d46c062e48475005a23
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