Commit 004bd069 authored by Bjorn Helgaas's avatar Bjorn Helgaas

mn10300/PCI: Remove useless pcibios_last_bus

pcibios_last_bus was apparently copied from x86.  On mn10300, it is
statically initialized to -1 and may be set with the "pci=lastbus=<X>"
boot option, but it is never tested.  This patch removes everything
related to pcibios_last_bus.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 9ba205c3
...@@ -35,7 +35,6 @@ extern void pcibios_resource_survey(void); ...@@ -35,7 +35,6 @@ extern void pcibios_resource_survey(void);
/* pci.c */ /* pci.c */
extern int pcibios_last_bus;
extern struct pci_ops *pci_root_ops; extern struct pci_ops *pci_root_ops;
extern struct irq_routing_table *pcibios_get_irq_routing_table(void); extern struct irq_routing_table *pcibios_get_irq_routing_table(void);
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
unsigned int pci_probe = 1; unsigned int pci_probe = 1;
int pcibios_last_bus = -1;
struct pci_ops *pci_root_ops; struct pci_ops *pci_root_ops;
/* /*
...@@ -392,10 +391,6 @@ char *__init pcibios_setup(char *str) ...@@ -392,10 +391,6 @@ char *__init pcibios_setup(char *str)
if (!strcmp(str, "off")) { if (!strcmp(str, "off")) {
pci_probe = 0; pci_probe = 0;
return NULL; return NULL;
} else if (!strncmp(str, "lastbus=", 8)) {
pcibios_last_bus = simple_strtol(str+8, NULL, 0);
return NULL;
} }
return str; return str;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment