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>
This commit is contained in:
parent
003d87cbec
commit
f3340e6cfd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue