From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Date: Wed, 11 Jan 2012 01:32:54 +0000 (+0900)
Subject: net: sh_eth: Remove unnecessary return
X-Git-Tag: v2025.01-rc5-pxa1908~17674^2~254^2~2
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-logo.png?a=commitdiff_plain;h=73dba948f57f0d69cb63ee168155c51d0c33f2b8;p=u-boot.git

net: sh_eth: Remove unnecessary return

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---

diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index 1bc44a8d2b..8d3dac20af 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;
 }