mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir

debugfs_remove already check mwifiex_dfs_dir, so remove it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Shawn Lin 2017-06-15 16:59:25 +08:00 committed by Kalle Valo
parent 421ba82c67
commit 7c26029f87
1 changed files with 1 additions and 2 deletions

View File

@ -1046,6 +1046,5 @@ mwifiex_debugfs_init(void)
void
mwifiex_debugfs_remove(void)
{
if (mwifiex_dfs_dir)
debugfs_remove(mwifiex_dfs_dir);
debugfs_remove(mwifiex_dfs_dir);
}