Commit 8a1959be authored by Bas Peters's avatar Bas Peters Committed by Kalle Valo
Browse files

libertas: remove unnecessary check before calling debugfs_remove



Debugfs_remove will check for error or NULL for us, so it is not
necessary to do this here.

Signed-off-by: default avatarBas Peters <baspeters93@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 851639fd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -742,7 +742,6 @@ void lbs_debugfs_init(void)

void lbs_debugfs_remove(void)
{
	if (lbs_dir)
	debugfs_remove(lbs_dir);
}