diff options
author | 2021-12-06 23:27:34 +0100 | |
---|---|---|
committer | 2021-12-09 11:52:21 +0100 | |
commit | ade044a3d0f0389e4f916337c505550acc3fd011 (patch) | |
tree | dc0897921564f79b7f47c3da8c5a398293ed28a3 /include/linux/msi.h | |
parent | PCI/MSI: Make pci_msi_domain_write_msg() static (diff) | |
download | linux-ade044a3d0f0389e4f916337c505550acc3fd011.tar.gz linux-ade044a3d0f0389e4f916337c505550acc3fd011.tar.bz2 linux-ade044a3d0f0389e4f916337c505550acc3fd011.zip |
PCI/MSI: Remove msi_desc_to_pci_sysdata()
Last user is gone long ago.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211206210224.210768199@linutronix.de
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r-- | include/linux/msi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h index d7b143a79cb4..ac6fec105edc 100644 --- a/include/linux/msi.h +++ b/include/linux/msi.h @@ -218,13 +218,8 @@ static inline void msi_desc_set_iommu_cookie(struct msi_desc *desc, for_each_msi_entry((desc), &(pdev)->dev) struct pci_dev *msi_desc_to_pci_dev(struct msi_desc *desc); -void *msi_desc_to_pci_sysdata(struct msi_desc *desc); void pci_write_msi_msg(unsigned int irq, struct msi_msg *msg); #else /* CONFIG_PCI_MSI */ -static inline void *msi_desc_to_pci_sysdata(struct msi_desc *desc) -{ - return NULL; -} static inline void pci_write_msi_msg(unsigned int irq, struct msi_msg *msg) { } |