浏览代码

net: sh_eth: Remove unnecessary return

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu 13 年之前
父节点
当前提交
73dba948f5
共有 1 个文件被更改,包括 0 次插入1 次删除
  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)
 	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;
 }
 }