Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324214
b: refs/heads/master
c: a7479d7
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas committed Aug 22, 2012
1 parent 1c12bb0 commit 899b866
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: d563e2ccc8adb1385da42e6077736ba6854117bb
refs/heads/master: a7479d74460a4873b73534aa89cb82ab70ff8a32
3 changes: 0 additions & 3 deletions trunk/drivers/pci/remove.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ static void pci_stop_dev(struct pci_dev *dev)

static void pci_destroy_dev(struct pci_dev *dev)
{
/* Remove the device from the device lists, and prevent any further
* list accesses from this device */
down_write(&pci_bus_sem);
list_del(&dev->bus_list);
dev->bus_list.next = dev->bus_list.prev = NULL;
up_write(&pci_bus_sem);

pci_free_resources(dev);
Expand Down

0 comments on commit 899b866

Please sign in to comment.