summaryrefslogtreecommitdiff
path: root/drivers/pci/remove.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-03-03 06:46:50 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-03-12 15:00:29 +0300
commitd9c8bea179a6906a74ea42a2a162c4d1c6d9a16b (patch)
treec2d71dc7bfb2ae399a9fa08d4feb2db7c246756f /drivers/pci/remove.c
parent97f47e73c4a0dc2519276cd63274696c850e0613 (diff)
downloadlinux-d9c8bea179a6906a74ea42a2a162c4d1c6d9a16b.tar.xz
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)