[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20071209213247.GD9440@joi>
Date: Sun, 9 Dec 2007 22:32:52 +0100
From: Marcin Ślusarz <marcin.slusarz@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Antonino Daplas <adaplas@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] vgacon: fix sparse warning about shadowing 'i' symbol
vgacon: fix sparse warning about shadowing 'i' symbol
Signed-off-by: Marcin Ślusarz <marcin.slusarz@...il.com>
---
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 f65bcd3..6df29a6 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists