aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-08-17 11:57:48 -0600
committerBjorn Helgaas <bhelgaas@google.com>2012-08-22 11:31:48 -0600
commit282e1d655fe7c7c2e6b0dd8166c4c6b7c2a1219b (patch)
tree9890411229a7f8b7314ddbf44e33554fa1b360b8 /net
parent2ed168eeb3edec029aa0eca5cb981d6376f931f9 (diff)
PCI: Stop and remove devices in one pass
Previously, when we removed a PCI device, we made two passes over the hierarchy rooted at the device. In the first pass, we stopped all the devices, and in the second, we removed them. This patch combines the two passes into one so that we remove a device as soon as it and all its children have been stopped. Note that we previously stopped devices in reverse order and removed them in forward order. Now we stop and remove them in reverse order. Tested-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions