summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-02-24 16:56:12 -0800
committerDavid S. Miller <davem@davemloft.net>2014-02-24 20:26:36 -0500
commitda56bbf71dedb8cabeb1db089c1bca5507c51945 (patch)
tree46dec430313665c44d2879e9a4d2a3cc65a12f9d /drivers/net/ethernet/broadcom
parent80d8e96d127a91dc3f298e9bb959473b9df1063a (diff)
net: bcmgenet: remove commented code in bcmgenet_xmit()
This code is commented since it is unused, left-over from the very first time this driver was merged. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r--drivers/net/ethernet/broadcom/genet/bcmgenet.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
index 585645749d6..72ce6e8115f 100644
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
@@ -1145,10 +1145,6 @@ static netdev_tx_t bcmgenet_xmit(struct sk_buff *skb, struct net_device *dev)
goto out;
}
- /* reclaim xmited skb every 8 packets. */
- /*if (ring->free_bds < ring->size - 8)*/
- /*__bcmgenet_tx_reclaim(dev, ring);*/
-
/* set the SKB transmit checksum */
if (priv->desc_64b_en) {
ret = bcmgenet_put_tx_csum(dev, skb);