PCI: Remove functions not called in include/linux/pci.h
diff mbox series

Message ID 20190715175658.29605-1-skunberg.kelsey@gmail.com
State Superseded
Headers show
  • PCI: Remove functions not called in include/linux/pci.h
Related show

Commit Message

Kelsey July 15, 2019, 5:56 p.m. UTC
Remove the following uncalled functions from include/linux/pci.h:


Functions were added in patch fb51ccbf217c "PCI: Rework config space
blocking services", though no callers were added. Code continues to be
unused and should be removed.

Signed-off-by: Kelsey <skunberg.kelsey@gmail.com>
 include/linux/pci.h | 5 -----
 1 file changed, 5 deletions(-)

diff mbox series

diff --git a/include/linux/pci.h b/include/linux/pci.h
index cf380544c700..3c9ba6133bea 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1656,11 +1656,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,