Commit cbfb3e09 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Linus Torvalds

vgacon: fix sparse warning about shadowing 'i' symbol

Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 162b3a08
...@@ -1153,8 +1153,6 @@ static int vgacon_do_font_op(struct vgastate *state,char *arg,int set,int ch512) ...@@ -1153,8 +1153,6 @@ static int vgacon_do_font_op(struct vgastate *state,char *arg,int set,int ch512)
/* if 512 char mode is already enabled don't re-enable it. */ /* if 512 char mode is already enabled don't re-enable it. */
if ((set) && (ch512 != vga_512_chars)) { if ((set) && (ch512 != vga_512_chars)) {
int i;
/* attribute controller */ /* attribute controller */
for (i = 0; i < MAX_NR_CONSOLES; i++) { for (i = 0; i < MAX_NR_CONSOLES; i++) {
struct vc_data *c = vc_cons[i].d; struct vc_data *c = vc_cons[i].d;
......
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