PCI/MSI: Remove empty pci_msi_init_pci_dev()
4a7cc83167
("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>
This commit is contained in:
parent
e80e7edc55
commit
128fc68ca1
|
@ -1024,10 +1024,6 @@ int pci_msi_enabled(void)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(pci_msi_enabled);
|
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
|
* pci_enable_msi_range - configure device's MSI capability structure
|
||||||
* @dev: device to configure
|
* @dev: device to configure
|
||||||
|
|
|
@ -144,10 +144,8 @@ extern unsigned int pci_pm_d3_delay;
|
||||||
|
|
||||||
#ifdef CONFIG_PCI_MSI
|
#ifdef CONFIG_PCI_MSI
|
||||||
void pci_no_msi(void);
|
void pci_no_msi(void);
|
||||||
void pci_msi_init_pci_dev(struct pci_dev *dev);
|
|
||||||
#else
|
#else
|
||||||
static inline void pci_no_msi(void) { }
|
static inline void pci_no_msi(void) { }
|
||||||
static inline void pci_msi_init_pci_dev(struct pci_dev *dev) { }
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline void pci_msi_set_enable(struct pci_dev *dev, int enable)
|
static inline void pci_msi_set_enable(struct pci_dev *dev, int enable)
|
||||||
|
|
|
@ -1601,9 +1601,6 @@ static void pci_init_capabilities(struct pci_dev *dev)
|
||||||
/* Enhanced Allocation */
|
/* Enhanced Allocation */
|
||||||
pci_ea_init(dev);
|
pci_ea_init(dev);
|
||||||
|
|
||||||
/* MSI/MSI-X list */
|
|
||||||
pci_msi_init_pci_dev(dev);
|
|
||||||
|
|
||||||
/* Setup MSI caps & disable MSI/MSI-X interrupts */
|
/* Setup MSI caps & disable MSI/MSI-X interrupts */
|
||||||
pci_msi_setup_pci_dev(dev);
|
pci_msi_setup_pci_dev(dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue