Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f610c9d6 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq/debugfs: Remove redundant NULL pointer check



debugfs_remove() can be called with a NULL pointer.

Fixes: 087cdfb6 ("genirq/debugfs: Add proper debugfs interface")
Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent c80081b9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1667,7 +1667,6 @@ static void debugfs_add_domain_dir(struct irq_domain *d)

static void debugfs_remove_domain_dir(struct irq_domain *d)
{
	if (d->debugfs_file)
	debugfs_remove(d->debugfs_file);
}