Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18807
b: refs/heads/master
c: f564511
h: refs/heads/master
i:
  18805: 1dd936f
  18803: 5eb5f95
  18799: 16f2d24
v: v3
  • Loading branch information
Jeff Kirsher authored and Jeff Garzik committed Jan 17, 2006
1 parent 2384a3f commit ff9609b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 392137fa9b966cf03f020f9a9a2619099b996266
refs/heads/master: f5645110aa2ed2dcc3e0373821474506ed4dc512
5 changes: 3 additions & 2 deletions trunk/drivers/net/e1000/e1000_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,11 +980,11 @@ e1000_free_desc_rings(struct e1000_adapter *adapter)
}
}

if(txdr->desc) {
if (txdr->desc) {
pci_free_consistent(pdev, txdr->size, txdr->desc, txdr->dma);
txdr->desc = NULL;
}
if(rxdr->desc) {
if (rxdr->desc) {
pci_free_consistent(pdev, rxdr->size, rxdr->desc, rxdr->dma);
rxdr->desc = NULL;
}
Expand All @@ -993,6 +993,7 @@ e1000_free_desc_rings(struct e1000_adapter *adapter)
txdr->buffer_info = NULL;
kfree(rxdr->buffer_info);
rxdr->buffer_info = NULL;

return;
}

Expand Down

0 comments on commit ff9609b

Please sign in to comment.