summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/unit-asb2305/pci.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-10-22 21:06:20 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-10-29 16:55:59 -0600
commit004bd069f876816f5f9023e8b1498753bca103fa (patch)
treef4a08dc3447ef2c7c50db48d2aa60acc7c110450 /arch/mn10300/unit-asb2305/pci.c
parent9ba205c384fc27cc7ff761744b012f1956a7e3e4 (diff)
downloadop-kernel-dev-004bd069f876816f5f9023e8b1498753bca103fa.zip
op-kernel-dev-004bd069f876816f5f9023e8b1498753bca103fa.tar.gz
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: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/mn10300/unit-asb2305/pci.c')
-rw-r--r--arch/mn10300/unit-asb2305/pci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mn10300/unit-asb2305/pci.c b/arch/mn10300/unit-asb2305/pci.c
index e37fac0..6b4339f 100644
--- a/arch/mn10300/unit-asb2305/pci.c
+++ b/arch/mn10300/unit-asb2305/pci.c
@@ -24,7 +24,6 @@
unsigned int pci_probe = 1;
-int pcibios_last_bus = -1;
struct pci_ops *pci_root_ops;
/*
@@ -392,10 +391,6 @@ char *__init pcibios_setup(char *str)
if (!strcmp(str, "off")) {
pci_probe = 0;
return NULL;
-
- } else if (!strncmp(str, "lastbus=", 8)) {
- pcibios_last_bus = simple_strtol(str+8, NULL, 0);
- return NULL;
}
return str;
OpenPOWER on IntegriCloud