Skip to content

Commit f1cd53e

Browse files
MahatiCgregkh
authored andcommitted
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>
1 parent 806031d commit f1cd53e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/staging/rtl8192e/rtllib_softmac_wx.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ void rtllib_wx_sync_scan_wq(void *data)
335335
enum ht_extchnl_offset chan_offset = 0;
336336
enum ht_channel_width bandwidth = 0;
337337
int b40M = 0;
338-
static int count;
339338

340339
if (!(ieee->softmac_features & IEEE_SOFTMAC_SCAN)) {
341340
rtllib_start_scan_syncro(ieee, 0);
@@ -412,7 +411,6 @@ void rtllib_wx_sync_scan_wq(void *data)
412411

413412
rtllib_wake_all_queues(ieee);
414413

415-
count = 0;
416414
out:
417415
up(&ieee->wx_sem);
418416

0 commit comments

Comments
 (0)