From: Amitkumar Karwar Date: Tue, 23 Jul 2013 02:17:49 +0000 (-0700) Subject: mwifiex: remove unnecessary del_timer(cmd_timer) X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f3340e6cfd0100d70653fe8a300049420e464deb;p=linux-beck.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- 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)