Skip to contentSkip to conversation

vgacon: fix sparse warning about shadowing 'i' symbol

PATCH New Marcin Ślusarz 1 participant 1 message Dec 9, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vgacon: fix sparse warning about shadowing 'i' symbol

vgacon: fix sparse warning about shadowing 'i' symbol

---
 drivers/video/console/vgacon.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/console/vgacon.c +0 -2
index f65bcd3..6df29a6 100644
@@ -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;