diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-08-22 16:28:13 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:37 -0700 |
commit | d40d3e117a82650423944182477b4027a7e45d72 (patch) | |
tree | ea13efca1447d4c5a628acab74ce8af5b78fb0f5 /drivers/staging | |
parent | afeeff07440650bb03a659de8ef4c8eb5328d5d7 (diff) | |
download | linux-d40d3e117a82650423944182477b4027a7e45d72.tar.bz2 |
Staging: rtl819u: ieee80211: Remove unused variable
This patch discards the variable count as it is not used anywhere
throughout the kernel.
Build tested it.
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c index 3e502520648e..3445fd4a94cb 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c @@ -308,7 +308,6 @@ void ieee80211_wx_sync_scan_wq(struct work_struct *work) HT_EXTCHNL_OFFSET chan_offset=0; HT_CHANNEL_WIDTH bandwidth=0; int b40M = 0; - static int count; chan = ieee->current_network.channel; netif_carrier_off(ieee->dev); @@ -357,7 +356,6 @@ void ieee80211_wx_sync_scan_wq(struct work_struct *work) ieee80211_start_send_beacons(ieee); netif_carrier_on(ieee->dev); - count = 0; up(&ieee->wx_sem); } |