genirq/debugfs: Remove redundant NULL pointer check
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Jul 2017 06:57:57 +0000 (08:57 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 7 Jul 2017 06:57:57 +0000 (08:57 +0200)
commitf610c9d68b1a47f539b7764f4b5ce07d32fb9ae1
treec13fa2b1033f82f8d155ac4fb55fd4dedaa2319b
parentc80081b9209713e0fe86d3def395a9fc66503c58
genirq/debugfs: Remove redundant NULL pointer check

debugfs_remove() can be called with a NULL pointer.

Fixes: 087cdfb662ae5 ("genirq/debugfs: Add proper debugfs interface")
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/irqdomain.c