hostap: proc: Remove unused variable
Subsystems (3)
PATCH 1/1 hostap: proc: Remove unused variable
Since "hostap: proc: substitute loops by %*phN" (62c5afb8e388) the variable i has been unused in prism2_bss_list_proc_show() so remove it.
--- drivers/net/wireless/hostap/hostap_proc.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/wireless/hostap/hostap_proc.c +0 -1
@@ -168,7 +168,6 @@ static int prism2_bss_list_proc_show(struct seq_file *m, void *v)local_info_t *local = m->private;struct list_head *ptr = v;struct hostap_bss_info *bss; -int i;if (ptr == &local->bss_list) { seq_printf(m, "#BSSID\tlast_update\tcount\tcapab_info\tSSID(txt)\t"
Signature · 1 line
2.1.0
Quoted 22 lines · Mark Brown
Since "hostap: proc: substitute loops by %*phN" (
62c5afb8e388) the variable i has been unused inprism2_bss_list_proc_show()so remove it.Signed-off-by Mark Brown <[email protected]>--- drivers/net/wireless/hostap/hostap_proc.c | 1 - 1 file changed, 1 deletion(-)drivers/net/wireless/hostap/hostap_proc.c +0
-1@@ -168,7 +168,6 @@ static int prism2_bss_list_proc_show(struct seq_file *m, void *v)local_info_t *local = m->private;struct list_head *ptr = v;struct hostap_bss_info *bss; -int i;if (ptr == &local->bss_list) { seq_printf(m, "#BSSID\tlast_update\tcount\tcapab_info\tSSID(txt)\t"Signature · 1 line
2.1.0
What tree are you using? In wireless-next, I still see a loop in that function using i as an index variable.
John
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · John W. Linville
Quoted 2 lines · Mark Brown
Since "hostap: proc: substitute loops by %*phN" (
62c5afb8e388) the variable i has been unused inprism2_bss_list_proc_show()so remove it.What tree are you using? In wireless-next, I still see a loop in that function using i as an index variable.
This was in -next for whatever day I sent that.