From: Wolfgang Denk Date: Mon, 5 Sep 2011 19:51:33 +0000 (+0200) Subject: VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i' X-Git-Tag: v2011.09-rc1~35^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4cd3f7cb08b08659b524f27a582adc21c43e861c;p=oweals%2Fu-boot.git VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i' 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 Cc: Anatolij Gustschin --- diff --git a/drivers/video/mb86r0xgdc.c b/drivers/video/mb86r0xgdc.c index 5425c9dadd..345a73b088 100644 --- a/drivers/video/mb86r0xgdc.c +++ b/drivers/video/mb86r0xgdc.c @@ -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);