VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i'
authorWolfgang Denk <wd@denx.de>
Mon, 5 Sep 2011 19:51:33 +0000 (21:51 +0200)
committerAnatolij Gustschin <agust@denx.de>
Tue, 6 Sep 2011 06:43:35 +0000 (08:43 +0200)
Fix build warning:

Configuring for jadecpu board...
mb86r0xgdc.c: In function 'dsp_init':
mb86r0xgdc.c:60: warning: unused variable 'i'

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
drivers/video/mb86r0xgdc.c

index 5425c9daddc6dcf941b878475bdfc154337b0f04..345a73b088c141c2b204444f800a0902f553cf90 100644 (file)
@@ -57,7 +57,6 @@ static void dsp_init(struct mb86r0x_gdc_dsp *dsp, char *modestr,
        u16 l2dx, l2dy, l2wx, l2wy, l2ww, l2wh;
        unsigned long div;
        int bpp;
-       u32 i;
 
        bpp = video_get_params(&var_mode, modestr);