diff options
author | Yijing Wang <wangyijing@huawei.com> | 2014-10-27 08:48:46 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-11-21 17:34:29 +0100 |
commit | 6cf00af0ae158120e8149ed3d77746397b3f911f (patch) | |
tree | 7b14a4ae637d058207731d559f0abe3790e4ed01 /arch/arm/include/asm/mach | |
parent | PCI: xilinx: Save MSI controller in pci_sys_data (diff) | |
download | linux-6cf00af0ae158120e8149ed3d77746397b3f911f.tar.xz linux-6cf00af0ae158120e8149ed3d77746397b3f911f.zip |
ARM/PCI: Remove unused pcibios_add_bus() and pcibios_remove_bus()
There are no users of the struct hw_pci.add_bus() or .remove_bus() methods,
so remove the pointers from hw_pci. That makes pcibios_add_bus() and
pcibios_remove_bus() themselves superfluous, so remove them as well.
[bhelgaas: changelog]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/arm/include/asm/mach')
-rw-r--r-- | arch/arm/include/asm/mach/pci.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/include/asm/mach/pci.h b/arch/arm/include/asm/mach/pci.h index 8144d61e5693..8292b5f81e23 100644 --- a/arch/arm/include/asm/mach/pci.h +++ b/arch/arm/include/asm/mach/pci.h @@ -39,8 +39,6 @@ struct hw_pci { resource_size_t start, resource_size_t size, resource_size_t align); - void (*add_bus)(struct pci_bus *bus); - void (*remove_bus)(struct pci_bus *bus); }; /* @@ -71,8 +69,6 @@ struct pci_sys_data { resource_size_t start, resource_size_t size, resource_size_t align); - void (*add_bus)(struct pci_bus *bus); - void (*remove_bus)(struct pci_bus *bus); void *private_data; /* platform controller private data */ }; |