diff options
Diffstat (limited to 'drivers/net/vmxnet3/vmxnet3_drv.c')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index fa6e2ac7475a..33097ec1c514 100644 --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c | |||
@@ -405,10 +405,8 @@ vmxnet3_tq_cleanup(struct vmxnet3_tx_queue *tq, | |||
405 | 405 | ||
406 | while (tq->tx_ring.next2comp != tq->tx_ring.next2fill) { | 406 | while (tq->tx_ring.next2comp != tq->tx_ring.next2fill) { |
407 | struct vmxnet3_tx_buf_info *tbi; | 407 | struct vmxnet3_tx_buf_info *tbi; |
408 | union Vmxnet3_GenericDesc *gdesc; | ||
409 | 408 | ||
410 | tbi = tq->buf_info + tq->tx_ring.next2comp; | 409 | tbi = tq->buf_info + tq->tx_ring.next2comp; |
411 | gdesc = tq->tx_ring.base + tq->tx_ring.next2comp; | ||
412 | 410 | ||
413 | vmxnet3_unmap_tx_buf(tbi, adapter->pdev); | 411 | vmxnet3_unmap_tx_buf(tbi, adapter->pdev); |
414 | if (tbi->skb) { | 412 | if (tbi->skb) { |
@@ -2864,7 +2862,7 @@ vmxnet3_probe_device(struct pci_dev *pdev, | |||
2864 | .ndo_set_mac_address = vmxnet3_set_mac_addr, | 2862 | .ndo_set_mac_address = vmxnet3_set_mac_addr, |
2865 | .ndo_change_mtu = vmxnet3_change_mtu, | 2863 | .ndo_change_mtu = vmxnet3_change_mtu, |
2866 | .ndo_set_features = vmxnet3_set_features, | 2864 | .ndo_set_features = vmxnet3_set_features, |
2867 | .ndo_get_stats = vmxnet3_get_stats, | 2865 | .ndo_get_stats64 = vmxnet3_get_stats64, |
2868 | .ndo_tx_timeout = vmxnet3_tx_timeout, | 2866 | .ndo_tx_timeout = vmxnet3_tx_timeout, |
2869 | .ndo_set_multicast_list = vmxnet3_set_mc, | 2867 | .ndo_set_multicast_list = vmxnet3_set_mc, |
2870 | .ndo_vlan_rx_register = vmxnet3_vlan_rx_register, | 2868 | .ndo_vlan_rx_register = vmxnet3_vlan_rx_register, |