summaryrefslogtreecommitdiffstats
path: root/drivers/pci/remove.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-03-03 04:46:50 +0100
committerBjorn Helgaas <bhelgaas@google.com>2016-03-12 13:00:29 +0100
commitd9c8bea179a6906a74ea42a2a162c4d1c6d9a16b (patch)
treec2d71dc7bfb2ae399a9fa08d4feb2db7c246756f /drivers/pci/remove.c
parentMIPS: Loongson 3: Keep CPU physical (not virtual) addresses in shadow ROM res... (diff)
downloadlinux-d9c8bea179a6906a74ea42a2a162c4d1c6d9a16b.tar.xz
linux-d9c8bea179a6906a74ea42a2a162c4d1c6d9a16b.zip
PCI: Remove unused IORESOURCE_ROM_COPY and IORESOURCE_ROM_BIOS_COPY
The IORESOURCE_ROM_COPY and IORESOURCE_ROM_BIOS_COPY bits are unused. Remove them and code that depends on them. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/remove.c')
-rw-r--r--drivers/pci/remove.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/remove.c b/drivers/pci/remove.c
index 8a280e9c2ad1..6b66329a6bff 100644
--- a/drivers/pci/remove.c
+++ b/drivers/pci/remove.c
@@ -7,7 +7,6 @@ static void pci_free_resources(struct pci_dev *dev)
{
int i;
- pci_cleanup_rom(dev);
for (i = 0; i < PCI_NUM_RESOURCES; i++) {
struct resource *res = dev->resource + i;
if (res->parent)