diff options
author | Thippeswamy Havalige <thippeswamy.havalige@amd.com> | 2022-10-25 08:52:07 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-11-25 11:39:22 +0100 |
commit | 4308e3c9e1ea9112865b10ed83c03b8d5d81aa32 (patch) | |
tree | 91d56d85d29571a99cf8198888c17d910d8c3eb0 /arch/microblaze/pci/xilinx_pci.c | |
parent | microblaze/PCI: Remove unused device tree parsing for a host bridge resources (diff) | |
download | linux-4308e3c9e1ea9112865b10ed83c03b8d5d81aa32.tar.xz linux-4308e3c9e1ea9112865b10ed83c03b8d5d81aa32.zip |
microblaze/PCI: Remove unused allocation & free of PCI host bridge structure
Remove unused allocation and freeing of PCI host bridge structure.
Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com>
Link: https://lore.kernel.org/r/20221025065214.4663-7-thippeswamy.havalige@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/microblaze/pci/xilinx_pci.c')
-rw-r--r-- | arch/microblaze/pci/xilinx_pci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/microblaze/pci/xilinx_pci.c b/arch/microblaze/pci/xilinx_pci.c index f1a51129b94c..3fa16e3c8e48 100644 --- a/arch/microblaze/pci/xilinx_pci.c +++ b/arch/microblaze/pci/xilinx_pci.c @@ -97,12 +97,6 @@ void __init xilinx_pci_init(void) return; } - hose = pcibios_alloc_controller(pci_node); - if (!hose) { - pr_err("xilinx-pci: pcibios_alloc_controller() failed\n"); - return; - } - /* Setup config space */ setup_indirect_pci(hose, r.start + XPLB_PCI_ADDR, r.start + XPLB_PCI_DATA, |