diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-02-06 01:39:12 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:15 -0800 |
commit | cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a (patch) | |
tree | e71f8ed1a154430a90da79c04c5f27f46c2827bf /drivers/video/console | |
parent | 162b3a084904a1d6ef1553782b8573885d5f900b (diff) | |
download | linux-3.10-cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a.tar.gz linux-3.10-cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a.tar.bz2 linux-3.10-cbfb3e09c5f5cc21994fd06abb5b5839589d5b9a.zip |
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>
Diffstat (limited to 'drivers/video/console')
-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 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; |