* [PATCH] vgacon: fix sparse warning about shadowing 'i' symbol
@ 2007-12-09 21:32 Marcin Ślusarz
0 siblings, 0 replies; only message in thread
From: Marcin Ślusarz @ 2007-12-09 21:32 UTC (permalink / raw)
To: linux-kernel; +Cc: Antonino Daplas, Andrew Morton
vgacon: fix sparse warning about shadowing 'i' symbol
Signed-off-by: Marcin Ślusarz <marcin.slusarz@gmail.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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-09 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-09 21:32 [PATCH] vgacon: fix sparse warning about shadowing 'i' symbol Marcin Ślusarz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).