From: Shraddha Barke Date: Sat, 22 Aug 2015 10:58:13 +0000 (+0530) Subject: Staging: rtl819u: ieee80211: Remove unused variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d40d3e117a82650423944182477b4027a7e45d72;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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); }