All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir
  2017-06-15  8:59 [PATCH] mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir Shawn Lin
@ 2017-06-21 15:26 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2017-06-21 15:26 UTC (permalink / raw)
  To: Shawn Lin
  Cc: Amitkumar Karwar, linux-wireless, netdev, Nishant Sarmukadam,
	Ganapathi Bhat, Xinming Hu, Shawn Lin

Shawn Lin <shawn.lin@rock-chips.com> wrote:

> debugfs_remove already check mwifiex_dfs_dir, so remove it.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Patch applied to wireless-drivers-next.git, thanks.

7c26029f87a3 mwifiex: debugfs: remove redunant check of mwifiex_dfs_dir

-- 
https://patchwork.kernel.org/patch/9788425/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[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.