]> git.sur5r.net Git - u-boot/commitdiff
net: sh_eth: Remove unnecessary return
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Wed, 11 Jan 2012 01:32:54 +0000 (10:32 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 8 Mar 2012 01:26:18 +0000 (10:26 +0900)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/net/sh_eth.c

index 1bc44a8d2bf60236aa1205c580314fa7a9d5945f..8d3dac20af207005f19eba93a58e4b4e0ec86888 100644 (file)
@@ -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;
 }