summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2013-07-22 19:17:49 -0700
committerJohn W. Linville <linville@tuxdriver.com>2013-07-24 11:02:08 -0400
commitf3340e6cfd0100d70653fe8a300049420e464deb (patch)
tree77be2d8f9892ebf135415acc4daea0b33b3eb505
parent003d87cbece50c2a558c954b7ce915dcc70acba7 (diff)
downloadlinux-exynos-f3340e6cfd0100d70653fe8a300049420e464deb.tar.gz
linux-exynos-f3340e6cfd0100d70653fe8a300049420e464deb.tar.bz2
linux-exynos-f3340e6cfd0100d70653fe8a300049420e464deb.zip
mwifiex: remove unnecessary del_timer(cmd_timer)
It is already there in mwifiex_unregister(). So unnecessary call in mwifiex_adapter_cleanup() is removed in this patch. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/mwifiex/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index f23520f47717..2a430c9cbd0e 100644
--- a/drivers/net/wireless/mwifiex/init.c
+++ b/drivers/net/wireless/mwifiex/init.c
@@ -392,8 +392,6 @@ mwifiex_adapter_cleanup(struct mwifiex_adapter *adapter)
dev_dbg(adapter->dev, "info: free cmd buffer\n");
mwifiex_free_cmd_buffer(adapter);
- del_timer(&adapter->cmd_timer);
-
dev_dbg(adapter->dev, "info: free scan table\n");
if (adapter->if_ops.cleanup_if)