projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea237a6
)
fbmon: remove unnecessary local variable
author
Andre Haupt
<
[email protected]
>
Wed, 6 Feb 2008 09:39:09 +0000
(
01:39
-0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 6 Feb 2008 18:41:15 +0000
(10:41 -0800)
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]
>
drivers/video/fbmon.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbmon.c
b/drivers/video/fbmon.c
index 4ba9c08944161043fb1c9a13a3e4a0b5652dc5c7..3f3a4e97a300a73ef08acb47dae1693aa559e3bc 100644
(file)
--- 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);