Skip to content

Commit

Permalink
net: bcmgenet: remove commented code in bcmgenet_xmit()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Feb 25, 2014
1 parent 80d8e96 commit da56bbf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/ethernet/broadcom/genet/bcmgenet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit da56bbf

Please sign in to comment.