]> git.dujemihanovic.xyz Git - u-boot.git/commit
hummingboard: Return from cpu_eth_init() directly
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 25 Jan 2014 16:08:24 +0000 (14:08 -0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Feb 2014 10:24:11 +0000 (11:24 +0100)
commitc0da86225fb501eea26318e7f3760cdee25ee83d
treef7198443e642fdd73491e2632a112057d4d7ff44
parent16197bb8ba5962ab3a9c065c06c91c8c288c0f8e
hummingboard: Return from cpu_eth_init() directly

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@freescale.com>
board/solidrun/hummingboard/hummingboard.c