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

Commit 005d16b6 authored by Fabian Frederick's avatar Fabian Frederick Committed by Lee Jones
Browse files

mfd: ab8500-debugfs: Remove unnecessary null test before debugfs_remove_recursive



Fix checkpatch warning:
WARNING: debugfs_remove_recursive(NULL) is safe this check is probably not required

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent d1fd345e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3191,7 +3191,6 @@ static int ab8500_debug_probe(struct platform_device *plf)
	return 0;

err:
	if (ab8500_dir)
	debugfs_remove_recursive(ab8500_dir);
	dev_err(&plf->dev, "failed to create debugfs entries.\n");