projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa4244
)
mx6qarm2: Remove unneeded error message when cpu_eth_init() fails
author
Fabio Estevam
<fabio.estevam@freescale.com>
Sat, 4 Jan 2014 19:36:30 +0000
(17:36 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Mon, 13 Jan 2014 10:52:27 +0000
(11:52 +0100)
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>
board/freescale/mx6qarm2/mx6qarm2.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx6qarm2/mx6qarm2.c
b/board/freescale/mx6qarm2/mx6qarm2.c
index e0634078407892c300a6346c03e47cadcda9e3da..6c51f3a1825937d98ea6c2b40f54a095eaafb70f 100644
(file)
--- a/
board/freescale/mx6qarm2/mx6qarm2.c
+++ b/
board/freescale/mx6qarm2/mx6qarm2.c
@@
-186,13
+186,10
@@
int fecmxc_mii_postcall(int phy)
int board_eth_init(bd_t *bis)
{
struct eth_device *dev;
- int ret;
+ int ret
= cpu_eth_init(bis)
;
- ret = cpu_eth_init(bis);
- if (ret) {
- printf("FEC MXC: %s:failed\n", __func__);
+ if (ret)
return ret;
- }
dev = eth_get_dev_by_name("FEC");
if (!dev) {