mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
fbmon: remove unnecessary local variable
This fixes a sparse warning about symbol 'i' shadowing an earlier one. Signed-off-by: Andre Haupt <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ea237a6ae9
commit
cb85063ae8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue