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>
This commit is contained in:
parent
ea237a6ae9
commit
cb85063ae8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user