public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i'
@ 2011-09-05 19:51 Wolfgang Denk
  2011-09-06  6:52 ` Anatolij Gustschin
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Denk @ 2011-09-05 19:51 UTC (permalink / raw)
  To: u-boot

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 |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/video/mb86r0xgdc.c b/drivers/video/mb86r0xgdc.c
index 5425c9d..345a73b 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);
 
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i'
  2011-09-05 19:51 [U-Boot] [PATCH] VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i' Wolfgang Denk
@ 2011-09-06  6:52 ` Anatolij Gustschin
  0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2011-09-06  6:52 UTC (permalink / raw)
  To: u-boot

Hello Wolfgang,

On Mon,  5 Sep 2011 21:51:33 +0200
Wolfgang Denk <wd@denx.de> wrote:

> 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 |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

applied to u-boot-video/master. Thanks!

Anatolij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-06  6:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 19:51 [U-Boot] [PATCH] VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i' Wolfgang Denk
2011-09-06  6:52 ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox