summaryrefslogtreecommitdiffstats
path: root/arch/frv/mb93090-mb00/pci-frv.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-07-28 00:09:40 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-07-28 00:09:40 +0200
commit24b390aad2930b889b6e15fc7cf7bfa7c99fad21 (patch)
tree76212a1b0c6a1ade8e10a4ca31ebdd9f25e38bcf /arch/frv/mb93090-mb00/pci-frv.c
parentPCI: Add VPD function 0 quirk for Intel Ethernet devices (diff)
downloadlinux-24b390aad2930b889b6e15fc7cf7bfa7c99fad21.tar.xz
linux-24b390aad2930b889b6e15fc7cf7bfa7c99fad21.zip
PCI: Remove unused "pci_probe" flags
The following flags are only used on x86, but they got copied to FR-V, MN10300, and SuperH: PCI_PROBE_BIOS PCI_PROBE_CONF1 PCI_PROBE_CONF2 PCI_ASSIGN_ROMS PCI_NO_CHECKS PCI_BIOS_IRQ_SCAN PCI_ASSIGN_ALL_BUSSES FR-V and MN10300 do test for PCI_ASSIGN_ROMS, but they never set it, so it's dead code. Remove the unused flags above. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/frv/mb93090-mb00/pci-frv.c')
-rw-r--r--arch/frv/mb93090-mb00/pci-frv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/frv/mb93090-mb00/pci-frv.c b/arch/frv/mb93090-mb00/pci-frv.c
index 0635bd6c2af3..34bb4b13e079 100644
--- a/arch/frv/mb93090-mb00/pci-frv.c
+++ b/arch/frv/mb93090-mb00/pci-frv.c
@@ -175,14 +175,6 @@ static void __init pcibios_assign_resources(void)
if (!r->start && r->end)
pci_assign_resource(dev, idx);
}
-
- if (pci_probe & PCI_ASSIGN_ROMS) {
- r = &dev->resource[PCI_ROM_RESOURCE];
- r->end -= r->start;
- r->start = 0;
- if (r->end)
- pci_assign_resource(dev, PCI_ROM_RESOURCE);
- }
}
}