summaryrefslogtreecommitdiffstats
path: root/drivers
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
parent4ba62c7290fa7a98a734826c98dc403d7b06a3a8 (diff)
downloadblackbird-obmc-uboot-73dba948f57f0d69cb63ee168155c51d0c33f2b8.tar.gz
blackbird-obmc-uboot-73dba948f57f0d69cb63ee168155c51d0c33f2b8.zip
net: sh_eth: Remove unnecessary return
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers')
-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 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;
}
OpenPOWER on IntegriCloud