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>
tirimbino
Shawn Lin 8 years ago committed by Kalle Valo
parent 421ba82c67
commit 7c26029f87
  1. 3
      drivers/net/wireless/marvell/mwifiex/debugfs.c

@ -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);
}

Loading…
Cancel
Save