diff options
author | 2011-11-13 04:34:23 +0000 | |
---|---|---|
committer | 2011-11-13 16:03:53 -0500 | |
commit | ad756594a8d88ffc048d14b8d5c02971e08856ce (patch) | |
tree | e3d72bbf1a4d7e269cd6240a430923a1666b20f4 /drivers/net/ethernet/broadcom | |
parent | bnx2x: use rx_queue index for skb_record_rx_queue() (diff) | |
download | linux-ad756594a8d88ffc048d14b8d5c02971e08856ce.tar.gz linux-ad756594a8d88ffc048d14b8d5c02971e08856ce.tar.bz2 linux-ad756594a8d88ffc048d14b8d5c02971e08856ce.zip |
bnx2x: remove unused variable
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c index 1ace946e1c33..f946a6ea8909 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c @@ -1094,13 +1094,11 @@ static void bnx2x_free_tx_skbs(struct bnx2x *bp) for_each_cos_in_tx_queue(fp, cos) { struct bnx2x_fp_txdata *txdata = &fp->txdata[cos]; - u16 bd_cons = txdata->tx_bd_cons; u16 sw_prod = txdata->tx_pkt_prod; u16 sw_cons = txdata->tx_pkt_cons; while (sw_cons != sw_prod) { - bd_cons = bnx2x_free_tx_pkt(bp, txdata, - TX_BD(sw_cons)); + bnx2x_free_tx_pkt(bp, txdata, TX_BD(sw_cons)); sw_cons++; } } |