diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-02-06 12:39:12 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 21:41:15 +0300 |
commit | cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a (patch) | |
tree | e71f8ed1a154430a90da79c04c5f27f46c2827bf | |
parent | 162b3a084904a1d6ef1553782b8573885d5f900b (diff) | |
download | linux-cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a.tar.xz |
vgacon: fix sparse warning about shadowing 'i' symbol
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/video/console/vgacon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index f65bcd314d54..6df29a62d720 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; |