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:
parent
421ba82c67
commit
7c26029f87
|
@ -1046,6 +1046,5 @@ mwifiex_debugfs_init(void)
|
||||||
void
|
void
|
||||||
mwifiex_debugfs_remove(void)
|
mwifiex_debugfs_remove(void)
|
||||||
{
|
{
|
||||||
if (mwifiex_dfs_dir)
|
debugfs_remove(mwifiex_dfs_dir);
|
||||||
debugfs_remove(mwifiex_dfs_dir);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue