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