]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PCI: Fold stop and remove helpers into their callers
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Aug 2012 17:25:01 +0000 (11:25 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 17:31:42 +0000 (11:31 -0600)
commit2ed168eeb3edec029aa0eca5cb981d6376f931f9
tree015c0c9f116b9e8f246784b7f0ba71970df81e58
parent66455f5472383df3632140e04f0852215e5c9ce8
PCI: Fold stop and remove helpers into their callers

pci_stop_bus_devices() is only two lines of code and is only called by
pci_stop_bus_device(), so I think it's easier to read if we just fold it
into the caller.  Similarly for __pci_remove_behind_bridge().

Tested-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
drivers/pci/remove.c