Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

frv/PCI: Remove unused pci_root_bus

pci_root_bus is unused, so remove all references to it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

+1 -4
-1
arch/frv/mb93090-mb00/pci-frv.h
··· 31 31 /* pci-vdk.c */ 32 32 33 33 extern int __nongpreldata pcibios_last_bus; 34 - extern struct pci_bus *__nongpreldata pci_root_bus; 35 34 extern struct pci_ops *__nongpreldata pci_root_ops; 36 35 37 36 /* pci-irq.c */
+1 -3
arch/frv/mb93090-mb00/pci-vdk.c
··· 26 26 unsigned int __nongpreldata pci_probe = 1; 27 27 28 28 int __nongpreldata pcibios_last_bus = -1; 29 - struct pci_bus *__nongpreldata pci_root_bus; 30 29 struct pci_ops *__nongpreldata pci_root_ops; 31 30 32 31 /* ··· 415 416 printk("PCI: Probing PCI hardware\n"); 416 417 pci_add_resource(&resources, &pci_ioport_resource); 417 418 pci_add_resource(&resources, &pci_iomem_resource); 418 - pci_root_bus = pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, 419 - &resources); 419 + pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, &resources); 420 420 421 421 pcibios_irq_init(); 422 422 pcibios_fixup_peer_bridges();