summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-12-01 02:35:53 +0100
committerBjorn Helgaas <bhelgaas@google.com>2015-12-01 02:35:53 +0100
commit128fc68ca1c3c73ed35ef9c7c50b8972de40322f (patch)
tree4ad6c7d33aeee827e9d3c2a45a2a8b483fde087c /drivers/pci
parentPCI/MSI: Initialize MSI capability for all architectures (diff)
downloadlinux-128fc68ca1c3c73ed35ef9c7c50b8972de40322f.tar.xz
linux-128fc68ca1c3c73ed35ef9c7c50b8972de40322f.zip
PCI/MSI: Remove empty pci_msi_init_pci_dev()
4a7cc8316705 ("genirq/MSI: Move msi_list from struct pci_dev to struct device") removed the contents of pci_msi_init_pci_dev(). All implementation of it are now empty, so remove it completely. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/msi.c4
-rw-r--r--drivers/pci/pci.h2
-rw-r--r--drivers/pci/probe.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index 53e463244bb7..b64d26719906 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -1024,10 +1024,6 @@ int pci_msi_enabled(void)
}
EXPORT_SYMBOL(pci_msi_enabled);
-void pci_msi_init_pci_dev(struct pci_dev *dev)
-{
-}
-
/**
* pci_enable_msi_range - configure device's MSI capability structure
* @dev: device to configure
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index fd2f03fa53f3..44d9859057b4 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -144,10 +144,8 @@ extern unsigned int pci_pm_d3_delay;
#ifdef CONFIG_PCI_MSI
void pci_no_msi(void);
-void pci_msi_init_pci_dev(struct pci_dev *dev);
#else
static inline void pci_no_msi(void) { }
-static inline void pci_msi_init_pci_dev(struct pci_dev *dev) { }
#endif
static inline void pci_msi_set_enable(struct pci_dev *dev, int enable)
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index cd94737af8fd..88f0fedbe891 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1601,9 +1601,6 @@ static void pci_init_capabilities(struct pci_dev *dev)
/* Enhanced Allocation */
pci_ea_init(dev);
- /* MSI/MSI-X list */
- pci_msi_init_pci_dev(dev);
-
/* Setup MSI caps & disable MSI/MSI-X interrupts */
pci_msi_setup_pci_dev(dev);