Browse Source

net: sh_eth: Remove unnecessary return

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu 13 năm trước cách đây
mục cha
commit
73dba948f5
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/net/sh_eth.c

+ 0 - 1
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;
 }