Hello Heiko,

On Sat, 19 Nov 2011 13:51:38 +0100
Anatolij Gustschin <ag...@denx.de> wrote:

> Fix:
> davinci_i2c.c: In function 'flush_rx':
> davinci_i2c.c:81:6: warning: variable 'dummy' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <ag...@denx.de>
> Acked-by: Heiko Schocher <h...@denx.de>
> ---
> v2:
>  - drop void cast since REG() is not a function call but
>    expands to (*(volatile unsigned int *)(I2C_DDR))
>    and thus we don't need to indicate that return value is ignored
>    intentionally
> 
>  drivers/i2c/davinci_i2c.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)

Could you apply this patch, too? Thanks!

Anatolij
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to