[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <94ed2e6692de667821f02aacc69b8df99de683cf.1196176751.git.andre@bitwigglers.org>
Date: Tue, 27 Nov 2007 16:51:39 +0100
From: Andre Haupt <andre@...wigglers.org>
To: linux-kernel@...r.kernel.org
Cc: jsimmons@...rs.sf.net, kernel-janitors@...r.kernel.org,
adaplas@...il.com, Andre Haupt <andre@...wigglers.org>
Subject: [PATCH 1/2] fbmon: remove unnecessary local variable
This fixes a sparse warning about symbol 'i' shadowing an earlier one.
From: Andre Haupt <andre@...wigglers.org>
Signed-off-by: Andre Haupt <andre@...wigglers.org>
---
drivers/video/fbmon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/fbmon.c b/drivers/video/fbmon.c
index 4ba9c08..3f3a4e9 100644
--- a/drivers/video/fbmon.c
+++ b/drivers/video/fbmon.c
@@ -686,7 +686,7 @@ static int fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs)
/* estimate monitor limits based on modes supported */
if (retval) {
struct fb_videomode *modes, *mode;
- int num_modes, i, hz, hscan, pixclock;
+ int num_modes, hz, hscan, pixclock;
int vtotal, htotal;
modes = fb_create_modedb(edid, &num_modes);
--
1.4.4.4
-
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