]> code.ossystems Code Review - bsp/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 28 Mar 2014 16:38:38 +0000 (13:38 -0300)
commit7717807c9f897da3a7b5dc51304fb6037fb79e00
tree5f8cc772c2a312234d03fdec98be404e24260b54
parent58ea0f3a906ab0cac164c538f34d6554eab08d95
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