diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/atlx/atl1.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 98334a1f0c5c..dffa6919a419 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -2074,9 +2074,6 @@ static void atl1_intr_tx(struct atl1_adapter *adapter) | |||
2074 | cmb_tpd_next_to_clean = le16_to_cpu(adapter->cmb.cmb->tpd_cons_idx); | 2074 | cmb_tpd_next_to_clean = le16_to_cpu(adapter->cmb.cmb->tpd_cons_idx); |
2075 | 2075 | ||
2076 | while (cmb_tpd_next_to_clean != sw_tpd_next_to_clean) { | 2076 | while (cmb_tpd_next_to_clean != sw_tpd_next_to_clean) { |
2077 | struct tx_packet_desc *tpd; | ||
2078 | |||
2079 | tpd = ATL1_TPD_DESC(tpd_ring, sw_tpd_next_to_clean); | ||
2080 | buffer_info = &tpd_ring->buffer_info[sw_tpd_next_to_clean]; | 2077 | buffer_info = &tpd_ring->buffer_info[sw_tpd_next_to_clean]; |
2081 | if (buffer_info->dma) { | 2078 | if (buffer_info->dma) { |
2082 | pci_unmap_page(adapter->pdev, buffer_info->dma, | 2079 | pci_unmap_page(adapter->pdev, buffer_info->dma, |