]> 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)
commitd2a2ebb35f87d784313fb8a09f790df05b2f7771
treeb0953c50658cc35611efa5486fc984e5f7f3fbbe
parent21df44407b215867d73fc71bd47083bd7ca08c96
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