diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-05-22 07:55:29 -0500 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-05-22 07:55:29 -0500 |
commit | 069967f4e2a0648c7aa70695994f7d676a332412 (patch) | |
tree | 9351d9108f42ad51df602ba0bab6a586420a5c33 /arch/microblaze/pci/pci-common.c | |
parent | 8a7d1b16bccb8b31af45d0ace8fc9e6a388acfb9 (diff) | |
download | linux-069967f4e2a0648c7aa70695994f7d676a332412.tar.bz2 |
microblaze/PCI: Remove pcibios_finish_adding_to_bus() dead code
pcibios_finish_adding_to_bus() is defined but never used. Remove it.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/microblaze/pci/pci-common.c')
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index 161f9758c631..f0eafdb6407c 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c @@ -952,30 +952,6 @@ void pcibios_claim_one_bus(struct pci_bus *bus) } EXPORT_SYMBOL_GPL(pcibios_claim_one_bus); - -/* pcibios_finish_adding_to_bus - * - * This is to be called by the hotplug code after devices have been - * added to a bus, this include calling it for a PHB that is just - * being added - */ -void pcibios_finish_adding_to_bus(struct pci_bus *bus) -{ - pr_debug("PCI: Finishing adding to hotplug bus %04x:%02x\n", - pci_domain_nr(bus), bus->number); - - /* Allocate bus and devices resources */ - pcibios_allocate_bus_resources(bus); - pcibios_claim_one_bus(bus); - - /* Add new devices to global lists. Register in proc, sysfs. */ - pci_bus_add_devices(bus); - - /* Fixup EEH */ - /* eeh_add_device_tree_late(bus); */ -} -EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus); - static void pcibios_setup_phb_resources(struct pci_controller *hose, struct list_head *resources) { |