summaryrefslogtreecommitdiff
path: root/include/linux/msi.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-12-07 01:27:34 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-12-09 13:52:21 +0300
commitade044a3d0f0389e4f916337c505550acc3fd011 (patch)
treedc0897921564f79b7f47c3da8c5a398293ed28a3 /include/linux/msi.h
parent9e8688c5f2990dadcf83728cd00a7e8497fc6aa9 (diff)
downloadlinux-ade044a3d0f0389e4f916337c505550acc3fd011.tar.xz
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.h5
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)
{
}