mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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>
This commit is contained in:
parent
67ba5d6d6e
commit
f752fa468a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user