diff options
author | Stefano Babic <sbabic@denx.de> | 2011-11-06 00:42:07 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2011-11-10 23:27:28 +0100 |
commit | 8db84487f9e5260c5d4376a633e6486d29a469c5 (patch) | |
tree | 8088a6bc2758fd977bcb0517a4d5f25ecf16859c /drivers/video | |
parent | 15006cb7db8fc9cbae809746ad7959c9e90cca1d (diff) | |
download | u-boot-imx-8db84487f9e5260c5d4376a633e6486d29a469c5.zip u-boot-imx-8db84487f9e5260c5d4376a633e6486d29a469c5.tar.gz u-boot-imx-8db84487f9e5260c5d4376a633e6486d29a469c5.tar.bz2 |
VIDEO: mx3fb: GCC4.6 fix build warnings
Fix:
mx3fb.c: In function 'video_hw_init':
mx3fb.c:827:30: warning: variable 'vesa_idx' set but not used
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/mx3fb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index f30deb3..eb75c6a 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -824,7 +824,7 @@ void *video_hw_init(void) char *penv; u32 memsize; unsigned long t1, hsynch, vsynch; - int bits_per_pixel, i, tmp, vesa_idx = 0, videomode; + int bits_per_pixel, i, tmp, videomode; tmp = 0; @@ -857,7 +857,6 @@ void *video_hw_init(void) mode = (struct ctfb_res_modes *) &res_mode_init[vesa_modes[i].resindex]; bits_per_pixel = vesa_modes[i].bits_per_pixel; - vesa_idx = vesa_modes[i].resindex; } else { mode = (struct ctfb_res_modes *) &var_mode; bits_per_pixel = video_get_params(mode, penv); |