[U-Boot] [PATCH] net: sh_eth: Remove unnecessary return

Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj at renesas.com
Fri Feb 3 08:28:48 CET 2012


---
 drivers/net/sh_eth.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index 1bc44a8..8d3dac2 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -94,7 +94,6 @@ int sh_eth_send(struct eth_device *dev, volatile void *packet, int len)
 	if (port_info->tx_desc_cur >= port_info->tx_desc_base + NUM_TX_DESC)
 		port_info->tx_desc_cur = port_info->tx_desc_base;
 
-	return ret;
 err:
 	return ret;
 }
-- 
1.7.7.3



More information about the U-Boot mailing list