summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-07-28 23:03:41 +0200
committerBjorn Helgaas <bhelgaas@google.com>2020-07-29 14:25:18 -0500
commit2167c40657981f8a3d1ff1f04d4bda6b4a64f8e2 (patch)
treedce96c070e732fb5f2a266bcb2bf27a1a20c0a10 /include/linux/pci.h
parent2575b2f3ee711f4638e772e07a5146afcc704f30 (diff)
downloadlinux-2167c40657981f8a3d1ff1f04d4bda6b4a64f8e2.tar.bz2
PCI: Remove unused pci_lost_interrupt()
388c8c16abaf ("PCI: add routines for debugging and handling lost interrupts") added pci_lost_interrupt() that apparently never has had a single user. Remove it. Link: https://lore.kernel.org/r/e328d059-3068-6a40-28df-f81f616d15a0@gmail.com Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index c79d83304e52..2dcd67f509a8 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1053,13 +1053,6 @@ void pci_sort_breadthfirst(void);
/* Generic PCI functions exported to card drivers */
-enum pci_lost_interrupt_reason {
- PCI_LOST_IRQ_NO_INFORMATION = 0,
- PCI_LOST_IRQ_DISABLE_MSI,
- PCI_LOST_IRQ_DISABLE_MSIX,
- PCI_LOST_IRQ_DISABLE_ACPI,
-};
-enum pci_lost_interrupt_reason pci_lost_interrupt(struct pci_dev *dev);
int pci_find_capability(struct pci_dev *dev, int cap);
int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap);
int pci_find_ext_capability(struct pci_dev *dev, int cap);