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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user