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>

+1 -2
+1 -2
kernel/irq/irqdomain.c
··· 1667 1668 static void debugfs_remove_domain_dir(struct irq_domain *d) 1669 { 1670 - if (d->debugfs_file) 1671 - debugfs_remove(d->debugfs_file); 1672 } 1673 1674 void __init irq_domain_debugfs_init(struct dentry *root)
··· 1667 1668 static void debugfs_remove_domain_dir(struct irq_domain *d) 1669 { 1670 + debugfs_remove(d->debugfs_file); 1671 } 1672 1673 void __init irq_domain_debugfs_init(struct dentry *root)