* [PATCH] mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir
@ 2017-06-15 8:59 Shawn Lin
2017-06-21 15:26 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Lin @ 2017-06-15 8:59 UTC (permalink / raw)
To: Amitkumar Karwar, Kalle Valo
Cc: linux-wireless, netdev, Nishant Sarmukadam, Ganapathi Bhat,
Xinming Hu, Shawn Lin
debugfs_remove already check mwifiex_dfs_dir, so remove it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---
drivers/net/wireless/marvell/mwifiex/debugfs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/debugfs.c b/drivers/net/wireless/marvell/mwifiex/debugfs.c
index ae2b69d..f6f105a 100644
--- a/drivers/net/wireless/marvell/mwifiex/debugfs.c
+++ b/drivers/net/wireless/marvell/mwifiex/debugfs.c
@@ -1046,6 +1046,5 @@
void
mwifiex_debugfs_remove(void)
{
- if (mwifiex_dfs_dir)
- debugfs_remove(mwifiex_dfs_dir);
+ debugfs_remove(mwifiex_dfs_dir);
}
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-21 16:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-15 8:59 [PATCH] mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir Shawn Lin
2017-06-21 15:26 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.