diff options
author | Shraddha Barke | 2015-08-22 12:58:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-13 03:24:37 +0200 |
commit | d40d3e117a82650423944182477b4027a7e45d72 (patch) | |
tree | ea13efca1447d4c5a628acab74ce8af5b78fb0f5 /drivers/staging/rtl8192u | |
parent | Staging: rtl8723au: core: Remove unused variable (diff) | |
download | kernel-qcow2-linux-d40d3e117a82650423944182477b4027a7e45d72.tar.gz kernel-qcow2-linux-d40d3e117a82650423944182477b4027a7e45d72.tar.xz kernel-qcow2-linux-d40d3e117a82650423944182477b4027a7e45d72.zip |
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/rtl8192u')
-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); } |