]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx6sabresd: Return from cpu_eth_init() directly
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 4 Jan 2014 19:36:32 +0000 (17:36 -0200)
committerStefano Babic <sbabic@denx.de>
Mon, 13 Jan 2014 10:52:27 +0000 (11:52 +0100)
commit92c707a5809095ddc4cff087b7e499779ece5d6b
treefbde60837e88ec1a9dfd918473e08703e5ecb27b
parent579be2f76033a1202e92d2876aca18dbd1230221
mx6sabresd: 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/freescale/mx6sabresd/mx6sabresd.c