net: sh_eth: Remove unnecessary return
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
4ba62c7290
commit
73dba948f5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue