diff options
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index 0e72dadf8b70..4bf6bbc65822 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -1290,12 +1290,12 @@ ixgb_tx_map(struct ixgb_adapter *adapter, struct sk_buff *skb, | |||
1290 | 1290 | ||
1291 | buffer_info->length = size; | 1291 | buffer_info->length = size; |
1292 | WARN_ON(buffer_info->dma != 0); | 1292 | WARN_ON(buffer_info->dma != 0); |
1293 | buffer_info->time_stamp = jiffies; | ||
1293 | buffer_info->dma = | 1294 | buffer_info->dma = |
1294 | pci_map_single(adapter->pdev, | 1295 | pci_map_single(adapter->pdev, |
1295 | skb->data + offset, | 1296 | skb->data + offset, |
1296 | size, | 1297 | size, |
1297 | PCI_DMA_TODEVICE); | 1298 | PCI_DMA_TODEVICE); |
1298 | buffer_info->time_stamp = jiffies; | ||
1299 | buffer_info->next_to_watch = 0; | 1299 | buffer_info->next_to_watch = 0; |
1300 | 1300 | ||
1301 | len -= size; | 1301 | len -= size; |
@@ -1322,13 +1322,13 @@ ixgb_tx_map(struct ixgb_adapter *adapter, struct sk_buff *skb, | |||
1322 | size -= 4; | 1322 | size -= 4; |
1323 | 1323 | ||
1324 | buffer_info->length = size; | 1324 | buffer_info->length = size; |
1325 | buffer_info->time_stamp = jiffies; | ||
1325 | buffer_info->dma = | 1326 | buffer_info->dma = |
1326 | pci_map_page(adapter->pdev, | 1327 | pci_map_page(adapter->pdev, |
1327 | frag->page, | 1328 | frag->page, |
1328 | frag->page_offset + offset, | 1329 | frag->page_offset + offset, |
1329 | size, | 1330 | size, |
1330 | PCI_DMA_TODEVICE); | 1331 | PCI_DMA_TODEVICE); |
1331 | buffer_info->time_stamp = jiffies; | ||
1332 | buffer_info->next_to_watch = 0; | 1332 | buffer_info->next_to_watch = 0; |
1333 | 1333 | ||
1334 | len -= size; | 1334 | len -= size; |