Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: ti: ti_sci_inta_msi: Remove ti_sci_inta_msi_domain_free_irqs()

The function has no users and is pointless now that the core frees the MSI
descriptors, which means potential users can just use msi_domain_free_irqs().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211206210748.793119155@linutronix.de

-7
-6
drivers/soc/ti/ti_sci_inta_msi.c
··· 122 122 return ret; 123 123 } 124 124 EXPORT_SYMBOL_GPL(ti_sci_inta_msi_domain_alloc_irqs); 125 - 126 - void ti_sci_inta_msi_domain_free_irqs(struct device *dev) 127 - { 128 - msi_domain_free_irqs(dev->msi.domain, dev); 129 - } 130 - EXPORT_SYMBOL_GPL(ti_sci_inta_msi_domain_free_irqs);
-1
include/linux/soc/ti/ti_sci_inta_msi.h
··· 18 18 struct irq_domain *parent); 19 19 int ti_sci_inta_msi_domain_alloc_irqs(struct device *dev, 20 20 struct ti_sci_resource *res); 21 - void ti_sci_inta_msi_domain_free_irqs(struct device *dev); 22 21 #endif /* __INCLUDE_LINUX_IRQCHIP_TI_SCI_INTA_H */