mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 11:36:21 -04:00
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)
|
if (port_info->tx_desc_cur >= port_info->tx_desc_base + NUM_TX_DESC)
|
||||||
port_info->tx_desc_cur = port_info->tx_desc_base;
|
port_info->tx_desc_cur = port_info->tx_desc_base;
|
||||||
|
|
||||||
return ret;
|
|
||||||
err:
|
err:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user