]> git.sur5r.net Git - u-boot/commit
titanium: Return from cpu_eth_init() directly
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 4 Jan 2014 19:36:29 +0000 (17:36 -0200)
committerStefano Babic <sbabic@denx.de>
Mon, 13 Jan 2014 10:52:27 +0000 (11:52 +0100)
commit8aa42441c889ebb5fbb612d56df3fb2eb3eefcf2
treef6284790cf7a0b2739b23823696b5cf166d9a67f
parent14da759fb5338ae2ae5550cce1d596794262f455
titanium: 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.

Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefan Roese <sr@denx.de>
board/barco/titanium/titanium.c