summaryrefslogtreecommitdiff
path: root/drivers/net/sh_eth.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2012-01-11 10:32:54 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2012-03-08 10:26:18 +0900
commit73dba948f57f0d69cb63ee168155c51d0c33f2b8 (patch)
tree39f98d77493d0ad874c46c5dd3e0801ae6f06ea4 /drivers/net/sh_eth.c
parent4ba62c7290fa7a98a734826c98dc403d7b06a3a8 (diff)
downloadu-boot-imx-73dba948f57f0d69cb63ee168155c51d0c33f2b8.zip
u-boot-imx-73dba948f57f0d69cb63ee168155c51d0c33f2b8.tar.gz
u-boot-imx-73dba948f57f0d69cb63ee168155c51d0c33f2b8.tar.bz2
net: sh_eth: Remove unnecessary return
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers/net/sh_eth.c')
-rw-r--r--drivers/net/sh_eth.c1
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;
}