projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
421ba82
)
mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir
author
Shawn Lin
<shawn.lin@rock-chips.com>
Thu, 15 Jun 2017 08:59:25 +0000
(16:59 +0800)
committer
Kalle Valo
<kvalo@codeaurora.org>
Wed, 21 Jun 2017 15:25:47 +0000
(18:25 +0300)
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>
drivers/net/wireless/marvell/mwifiex/debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/marvell/mwifiex/debugfs.c
b/drivers/net/wireless/marvell/mwifiex/debugfs.c
index ae2b69db59940b44e3cf7f6dae2075ce28c390ae..f6f105a7d3ff4609a094118d3201f91385aa3902 100644
(file)
--- a/
drivers/net/wireless/marvell/mwifiex/debugfs.c
+++ b/
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);
}