Commit b7a86d65 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: fix line over 80 char issue in clear_shadow_scan()

Remove 'line over 80 char' issue found by checkpatch.pl script.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0a0e09a2
...@@ -173,7 +173,9 @@ static void clear_shadow_scan(void) ...@@ -173,7 +173,9 @@ static void clear_shadow_scan(void)
{ {
int i; int i;
if (op_ifcs == 0) { if (op_ifcs != 0)
return;
del_timer_sync(&aging_timer); del_timer_sync(&aging_timer);
for (i = 0; i < last_scanned_cnt; i++) { for (i = 0; i < last_scanned_cnt; i++) {
...@@ -186,7 +188,6 @@ static void clear_shadow_scan(void) ...@@ -186,7 +188,6 @@ static void clear_shadow_scan(void)
last_scanned_shadow[i].join_params = NULL; last_scanned_shadow[i].join_params = NULL;
} }
last_scanned_cnt = 0; last_scanned_cnt = 0;
}
} }
static u32 get_rssi_avg(struct network_info *network_info) static u32 get_rssi_avg(struct network_info *network_info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment