aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-04-14 18:32:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-04-22 15:06:30 -0400
commit3977a6477dd1e53fac2016a719a3c2cb2cdba771 (patch)
tree7af474506c8155b88778121292f39f38edb09b2b /drivers/net/wireless/mwifiex/main.h
parent3fffd7c17cca31b8538a313e02f9f4a6e63d360a (diff)
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/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index d53e1e8c9467..ae8b042271c0 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -787,7 +787,6 @@ struct mwifiex_adapter {
787 struct mwifiex_wait_queue cmd_wait_q; 787 struct mwifiex_wait_queue cmd_wait_q;
788 u8 scan_wait_q_woken; 788 u8 scan_wait_q_woken;
789 spinlock_t queue_lock; /* lock for tx queues */ 789 spinlock_t queue_lock; /* lock for tx queues */
790 struct completion fw_load;
791 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; 790 u8 country_code[IEEE80211_COUNTRY_STRING_LEN];
792 u16 max_mgmt_ie_index; 791 u16 max_mgmt_ie_index;
793 u8 scan_delay_cnt; 792 u8 scan_delay_cnt;