PCI: xgene: Remove leftover pci_scan_child_bus() call
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 21 Nov 2017 15:49:31 +0000 (15:49 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 19 Dec 2017 11:18:54 +0000 (11:18 +0000)
commit94b9d290b753cbbc87971ee134511245f5872a83
tree57633fc6eb404f524c22e0920109ae1d56c22f13
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b
PCI: xgene: Remove leftover pci_scan_child_bus() call

The changes in commit 9af275be15f7 ("PCI: xgene: Convert PCI scan API to
pci_scan_root_bus_bridge()") converted the xgene PCI host driver to
the new pci_scan_root_bus_bridge() bus scanning API but erroneously left
the existing pci_scan_child_bus() call in place which resulted in duplicate
PCI bus enumerations.

Remove the leftover pci_scan_child_bus() call to properly complete the API
conversion.

Fixes: 9af275be15f7 ("PCI: xgene: Convert PCI scan API to pci_scan_root_bus_bridge()")
Tested-by: Khuong Dinh <kdinh@apm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: <stable@vger.kernel.org> # 4.13+
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Tanmay Inamdar <tinamdar@apm.com>
drivers/pci/host/pci-xgene.c