diff options
author | Kelsey Skunberg <skunberg.kelsey@gmail.com> | 2019-07-15 14:34:16 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-07-23 18:32:11 -0500 |
commit | 4f77e0956bd99901af2bfc6641437ff8bff8d4a4 (patch) | |
tree | c085489e65a4343428441fcedef0aae862588dde /include/linux/pci.h | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) |
PCI: Remove pci_block_cfg_access() et al (unused)
Remove the following unused functions from include/linux/pci.h:
pci_block_cfg_access()
pci_block_cfg_access_in_atomic()
pci_unblock_cfg_access()
These were added by fb51ccbf217c ("PCI: Rework config space blocking
services"), though no callers were added.
Link: https://lore.kernel.org/r/20190715203416.37547-1-skunberg.kelsey@gmail.com
Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 9e700d9f9f28..61b64fa1b0b1 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1747,11 +1747,6 @@ static inline void pci_release_regions(struct pci_dev *dev) { } static inline unsigned long pci_address_to_pio(phys_addr_t addr) { return -1; } -static inline void pci_block_cfg_access(struct pci_dev *dev) { } -static inline int pci_block_cfg_access_in_atomic(struct pci_dev *dev) -{ return 0; } -static inline void pci_unblock_cfg_access(struct pci_dev *dev) { } - static inline struct pci_bus *pci_find_next_bus(const struct pci_bus *from) { return NULL; } static inline struct pci_dev *pci_get_slot(struct pci_bus *bus, |