From: Marcin Slusarz Date: Wed, 6 Feb 2008 09:39:12 +0000 (-0800) Subject: vgacon: fix sparse warning about shadowing 'i' symbol X-Git-Tag: v2.6.25-rc1~589 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a;p=linux-2.6-omap-h63xx.git vgacon: fix sparse warning about shadowing 'i' symbol Signed-off-by: Marcin Slusarz Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index f65bcd314d5..6df29a62d72 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -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 ((set) && (ch512 != vga_512_chars)) { - int i; - /* attribute controller */ for (i = 0; i < MAX_NR_CONSOLES; i++) { struct vc_data *c = vc_cons[i].d;