[U-Boot] [PATCH 04/12] drivers/net/enc28j60.c: Fix GCC 4.6 warnings

Wolfgang Denk wd at denx.de
Wed Nov 16 21:29:26 CET 2011


Dear Anatolij Gustschin,

In message <1321399263-13826-5-git-send-email-agust at denx.de> you wrote:
> Fix:
> enc28j60.c: In function 'enc_receive':
> enc28j60.c:435:5: warning: variable 'eir_reg' set but not used
> [-Wunused-but-set-variable]
> enc28j60.c: In function 'enc_poll':
> enc28j60.c:503:5: warning: variable 'estat_reg' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  drivers/net/enc28j60.c |    8 +++-----
>  1 files changed, 3 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Business is like a wheelbarrow. Nothing ever happens until you  start
pushing.


More information about the U-Boot mailing list