[U-Boot] [PATCH 04/10] drivers/net/lan91c96.c: Fix GCC 4.6 warning

Heiko Schocher hs at denx.de
Wed Nov 23 08:21:41 CET 2011


Hello Anatolij,

Anatolij Gustschin wrote:
> Fix:
> lan91c96.c: In function 'dump_memory_info':
> lan91c96.c:157:7: warning: variable 'mem_info' set but not used
> [-Wunused-but-set-variable]
> lan91c96.c: In function 'smc_send_packet':
> lan91c96.c:320:16: warning: variable 'ioaddr' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  drivers/net/lan91c96.c |    7 ++-----
>  1 files changed, 2 insertions(+), 5 deletions(-)

Applied to u-boot-staging hs at denx.de

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list