libertas: remove unnecessary check before calling debugfs_remove
authorBas Peters <baspeters93@gmail.com>
Wed, 11 Feb 2015 08:33:06 +0000 (09:33 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 27 Feb 2015 08:06:51 +0000 (10:06 +0200)
commit8a1959beca2b58dc0173ef42eb60476637e86ff9
treef009580a6c34feec61f8d22ad47651c941db8061
parent851639fdaeacbf8c0ff73f73da7bc67b525f5ce9
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: Bas Peters <baspeters93@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/libertas/debugfs.c