summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorJohannes Thumshirn2019-04-17 10:23:56 +0200
committerBjorn Helgaas2019-04-17 22:20:16 +0200
commit804ee5be633f051f85270ae3f4770a5fc6cd92d5 (patch)
treec44e31a21ed7876d055fec66850878a0b40be1fb /include/linux/pci.h
parentPCI: Mark expected switch fall-throughs (diff)
downloadkernel-qcow2-linux-804ee5be633f051f85270ae3f4770a5fc6cd92d5.tar.gz
kernel-qcow2-linux-804ee5be633f051f85270ae3f4770a5fc6cd92d5.tar.xz
kernel-qcow2-linux-804ee5be633f051f85270ae3f4770a5fc6cd92d5.zip
PCI: Remove unused pci_request_region_exclusive()
pci_request_region_exclusive() was introduced with commit e8de1481fd71 ("resource: allow MMIO exclusivity for device drivers") in 2.6.29 which was released 2008. It never had an in tree user since then, so after 11 years later let's remove it. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 77448215ef5b..5f32275358cf 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1233,7 +1233,6 @@ int __must_check pci_request_regions(struct pci_dev *, const char *);
int __must_check pci_request_regions_exclusive(struct pci_dev *, const char *);
void pci_release_regions(struct pci_dev *);
int __must_check pci_request_region(struct pci_dev *, int, const char *);
-int __must_check pci_request_region_exclusive(struct pci_dev *, int, const char *);
void pci_release_region(struct pci_dev *, int);
int pci_request_selected_regions(struct pci_dev *, int, const char *);
int pci_request_selected_regions_exclusive(struct pci_dev *, int, const char *);