diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-07-22 19:17:49 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-07-24 11:02:08 -0400 |
commit | f3340e6cfd0100d70653fe8a300049420e464deb (patch) | |
tree | 77be2d8f9892ebf135415acc4daea0b33b3eb505 /drivers/net | |
parent | 003d87cbece50c2a558c954b7ce915dcc70acba7 (diff) | |
download | linux-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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/mwifiex/init.c | 2 |
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) |