mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-28 09:11:34 +02:00
mx6qarm2: Remove unneeded error message when cpu_eth_init() fails
There is no need to print an error message when cpu_eth_init() fails because net/eth.c already prints it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
8aa42441c8
commit
1037dc0a2b
@ -186,13 +186,10 @@ int fecmxc_mii_postcall(int phy)
|
|||||||
int board_eth_init(bd_t *bis)
|
int board_eth_init(bd_t *bis)
|
||||||
{
|
{
|
||||||
struct eth_device *dev;
|
struct eth_device *dev;
|
||||||
int ret;
|
int ret = cpu_eth_init(bis);
|
||||||
|
|
||||||
ret = cpu_eth_init(bis);
|
if (ret)
|
||||||
if (ret) {
|
|
||||||
printf("FEC MXC: %s:failed\n", __func__);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
|
||||||
|
|
||||||
dev = eth_get_dev_by_name("FEC");
|
dev = eth_get_dev_by_name("FEC");
|
||||||
if (!dev) {
|
if (!dev) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user