net: bcmgenet: remove commented code in bcmgenet_xmit()
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 25 Feb 2014 00:56:12 +0000 (16:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 01:26:36 +0000 (20:26 -0500)
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>
drivers/net/ethernet/broadcom/genet/bcmgenet.c

index 585645749d6d9deab86dc7fd27559bf81b859528..72ce6e8115fa1e2f0759f2fb690b319d4017d78d 100644 (file)
@@ -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);