diff options
author | Andre Haupt <andre@bitwigglers.org> | 2008-02-06 01:39:09 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:15 -0800 |
commit | cb85063ae806e14f653f6e1fa7ffb63c6b9a4f0e (patch) | |
tree | 13a1f9f561750c815bdd77325dd94def9995fd9a /drivers/video/fbmon.c | |
parent | ea237a6ae953b19d03f29236f095389d7906a0b4 (diff) | |
download | linux-3.10-cb85063ae806e14f653f6e1fa7ffb63c6b9a4f0e.tar.gz linux-3.10-cb85063ae806e14f653f6e1fa7ffb63c6b9a4f0e.tar.bz2 linux-3.10-cb85063ae806e14f653f6e1fa7ffb63c6b9a4f0e.zip |
fbmon: remove unnecessary local variable
This fixes a sparse warning about symbol 'i' shadowing an earlier one.
Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/fbmon.c')
-rw-r--r-- | 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 4ba9c089441..3f3a4e97a30 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); |