OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
003d87c
)
mwifiex: remove unnecessary del_timer(cmd_timer)
author
Amitkumar Karwar
<akarwar@marvell.com>
Tue, 23 Jul 2013 02:17:49 +0000
(19:17 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:08 +0000
(11:02 -0400)
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>
drivers/net/wireless/mwifiex/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/init.c
b/drivers/net/wireless/mwifiex/init.c
index
f23520f
..
2a430c9
100644
(file)
--- 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)