Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116714
b: refs/heads/master
c: 11d5874
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Jesse Barnes committed Oct 20, 2008
1 parent 7b3656e commit fd7795c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 50cbfa511a21cac1909b6b4c955fa39d1da81457
refs/heads/master: 11d587429e9cbb40ac20d7ed8126c66da0d7aba5
10 changes: 3 additions & 7 deletions trunk/drivers/pci/remove.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,9 @@ void pci_remove_behind_bridge(struct pci_dev *dev)
{
struct list_head *l, *n;

if (dev->subordinate) {
list_for_each_safe(l, n, &dev->subordinate->devices) {
struct pci_dev *dev = pci_dev_b(l);

pci_remove_bus_device(dev);
}
}
if (dev->subordinate)
list_for_each_safe(l, n, &dev->subordinate->devices)
pci_remove_bus_device(pci_dev_b(l));
}

static void pci_stop_bus_devices(struct pci_bus *bus)
Expand Down

0 comments on commit fd7795c

Please sign in to comment.