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

Commit 0b8a6aea authored by Thomas Meyer's avatar Thomas Meyer Committed by Andy Shevchenko
Browse files

platform/x86: intel_ips: NULL check before some freeing functions is not needed



NULL check before some freeing functions is not needed.

Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 9a92ed29
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1300,9 +1300,7 @@ static const struct file_operations ips_debugfs_ops = {

static void ips_debugfs_cleanup(struct ips_driver *ips)
{
	if (ips->debug_root)
	debugfs_remove_recursive(ips->debug_root);
	return;
}

static void ips_debugfs_init(struct ips_driver *ips)