All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] fbmon: remove unnecessary local variable
@ 2007-11-27 15:51 Andre Haupt
  2007-11-27 15:51 ` Andre Haupt
  0 siblings, 1 reply; 4+ messages in thread
From: Andre Haupt @ 2007-11-27 15:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: jsimmons, kernel-janitors, adaplas, Andre Haupt

This fixes a sparse warning about symbol 'i' shadowing an earlier one.

From: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Andre Haupt <andre@bitwigglers.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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-27 15:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-27 15:51 [PATCH 1/2] fbmon: remove unnecessary local variable Andre Haupt
2007-11-27 15:51 ` Andre Haupt
2007-11-27 15:51   ` [PATCH 2/2] fbmon: cleanup trailing whitespaces Andre Haupt
2007-11-27 15:51     ` Andre Haupt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.