diff options
author | Mahati Chamarthy <mahati.chamarthy@gmail.com> | 2014-09-27 20:49:04 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-28 23:39:27 -0400 |
commit | f1cd53eccad75b9360378f5ce635ba942523fc44 (patch) | |
tree | bcf3e576ebf58cf7f55f1a30372a0a9e34f34f88 /drivers/staging/rtl8192e | |
parent | 806031dbf1011890f956f2bf6c2dd8e01e0a1762 (diff) | |
download | linux-f1cd53eccad75b9360378f5ce635ba942523fc44.tar.gz linux-f1cd53eccad75b9360378f5ce635ba942523fc44.tar.bz2 linux-f1cd53eccad75b9360378f5ce635ba942523fc44.zip |
Staging: rtl8192e: Remove unused variable
This patch removes a variable which has never been used. The following
Coccinelle semantic patch was used to make this transformation:
@@
type T;
identifier i;
constant C;
@@
- T i;
<... when != i
- i = C;
...>
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac_wx.c b/drivers/staging/rtl8192e/rtllib_softmac_wx.c index d077f49c2abd..835f3d78a16f 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac_wx.c +++ b/drivers/staging/rtl8192e/rtllib_softmac_wx.c @@ -335,7 +335,6 @@ void rtllib_wx_sync_scan_wq(void *data) enum ht_extchnl_offset chan_offset = 0; enum ht_channel_width bandwidth = 0; int b40M = 0; - static int count; if (!(ieee->softmac_features & IEEE_SOFTMAC_SCAN)) { rtllib_start_scan_syncro(ieee, 0); @@ -412,7 +411,6 @@ void rtllib_wx_sync_scan_wq(void *data) rtllib_wake_all_queues(ieee); - count = 0; out: up(&ieee->wx_sem); |