diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2016-02-11 13:46:24 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-11 19:31:50 -0800 |
commit | f752fa468ad14fb772ff8611c649e8224c3796fd (patch) | |
tree | 86613353a7b969b8f24557d972c9b2579e6cf749 /drivers/staging/wilc1000/wilc_wlan.c | |
parent | 67ba5d6d6e12495f6c2f6ed260d13f4cf77caf1e (diff) | |
download | op-kernel-dev-f752fa468ad14fb772ff8611c649e8224c3796fd.zip op-kernel-dev-f752fa468ad14fb772ff8611c649e8224c3796fd.tar.gz |
staging: wilc1000: remove initialization code of counter variable
There is no need to set to 0 for counter variable before entering next
for-loop statement because counter is initialized again in for-loop
statement, so just remove it.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index f3140e0..c6bfec3 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -1365,7 +1365,6 @@ int wilc_send_config_pkt(struct wilc_vif *vif, u8 mode, struct wid *wids, break; } } - counter = 0; for (counter = 0; counter < count; counter++) { wids[counter].size = wilc_wlan_cfg_get_val( wids[counter].id, |