From: Bjorn Helgaas Date: Tue, 28 Jan 2014 23:28:21 +0000 (-0700) Subject: x86/PCI: Drop pcibios_scan_root() check for bus already scanned X-Git-Tag: v3.15-rc1~143^2~12^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19e84824ac62d662a1d2b2b367f23b98bbd6d1d;p=pandora-kernel.git x86/PCI: Drop pcibios_scan_root() check for bus already scanned The PCI core checks to see whether we've already scanned a bus, so we don't need to do it in pcibios_scan_root(). Here's where it happens in the core: pcibios_scan_root pci_scan_bus_on_node pci_scan_root_bus pci_create_root_bus b2 = pci_find_bus(pci_domain_nr(b), bus) if (b2) goto err_out; # already scanned this bus This removes the check from pcibios_scan_root(). Signed-off-by: Bjorn Helgaas Acked-by: Rafael J. Wysocki --- Reading git-diff-tree failed