[U-Boot] [PATCH v2 2/6] titanium: Return from cpu_eth_init() directly

Stefan Roese sr at denx.de
Mon Jan 6 07:45:19 CET 2014


On 04.01.2014 20:36, 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.
> 
> Cc: Stefan Roese <sr at denx.de>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

Acked-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan



More information about the U-Boot mailing list