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