[U-Boot] [PATCH 03/12] drivers/net/at91_emac.c: Fix GCC 4.6 warning

Wolfgang Denk wd at denx.de
Wed Nov 16 21:28:54 CET 2011


Dear Anatolij Gustschin,

In message <1321399263-13826-4-git-send-email-agust at denx.de> you wrote:
> Fix:
> at91_emac.c: In function 'at91emac_write_hwaddr':
> at91_emac.c:477:15: warning: variable 'dev' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  drivers/net/at91_emac.c |    2 --
>  1 files changed, 0 insertions(+), 2 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
... The things love can drive a man to -- the  ecstasies,  the  mise-
ries,  the broken rules, the desperate chances, the glorious failures
and the glorious victories.
	-- McCoy, "Requiem for Methuselah", stardate 5843.7


More information about the U-Boot mailing list