diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-04-15 02:32:55 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-04-22 23:06:30 +0400 |
commit | 3977a6477dd1e53fac2016a719a3c2cb2cdba771 (patch) | |
tree | 7af474506c8155b88778121292f39f38edb09b2b /drivers/net/wireless/mwifiex/sdio.c | |
parent | 3fffd7c17cca31b8538a313e02f9f4a6e63d360a (diff) | |
download | linux-3977a6477dd1e53fac2016a719a3c2cb2cdba771.tar.xz |
mwifiex: remove redundant 'fw_load' completion structure
'add_remove_card_sem' semaphore already takes care of
synchronization for driver load and unload threads.
Hence there won't be a case when unload thread is waiting on
'wait_for_completion(fw_load)'.
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/wireless/mwifiex/sdio.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/sdio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/sdio.c b/drivers/net/wireless/mwifiex/sdio.c index accceed72af8..a1773d3cb49f 100644 --- a/drivers/net/wireless/mwifiex/sdio.c +++ b/drivers/net/wireless/mwifiex/sdio.c @@ -179,9 +179,6 @@ mwifiex_sdio_remove(struct sdio_func *func) if (!adapter || !adapter->priv_num) return; - /* In case driver is removed when asynchronous FW load is in progress */ - wait_for_completion(&adapter->fw_load); - if (user_rmmod) { if (adapter->is_suspended) mwifiex_sdio_resume(adapter->dev); |