[U-Boot] [PATCH] hummingboard: Return from cpu_eth_init() directly

Stefano Babic sbabic at denx.de
Tue Feb 11 11:25:37 CET 2014


On 25/01/2014 17:08, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> There is no need to print an error message when cpu_eth_init() fails because
> net/eth.c already prints it.
>     
> In order to simplify the code, just return the value from cpu_eth_init(bis)
> directly.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---


Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list