]> git.baikalelectronics.ru Git - kernel.git/commitdiff
soc: ti: ti_sci_inta_msi: Remove ti_sci_inta_msi_domain_free_irqs()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:51:37 +0000 (23:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:22:19 +0000 (22:22 +0100)
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
drivers/soc/ti/ti_sci_inta_msi.c
include/linux/soc/ti/ti_sci_inta_msi.h

index 31399118fcc63fc061a977973b5063a97b630f0a..991c78b34745202c8a07c276ab87ebdbfb74a6b4 100644 (file)
@@ -122,9 +122,3 @@ unlock:
        return ret;
 }
 EXPORT_SYMBOL_GPL(ti_sci_inta_msi_domain_alloc_irqs);
-
-void ti_sci_inta_msi_domain_free_irqs(struct device *dev)
-{
-       msi_domain_free_irqs(dev->msi.domain, dev);
-}
-EXPORT_SYMBOL_GPL(ti_sci_inta_msi_domain_free_irqs);
index 25ea78a8ea5c36f0997b96442cce9b0dfcb8fcb2..4dba2f2aff6fbd9dff598e06f8622fc6ce845ce3 100644 (file)
@@ -18,5 +18,4 @@ struct irq_domain
                                   struct irq_domain *parent);
 int ti_sci_inta_msi_domain_alloc_irqs(struct device *dev,
                                      struct ti_sci_resource *res);
-void ti_sci_inta_msi_domain_free_irqs(struct device *dev);
 #endif /* __INCLUDE_LINUX_IRQCHIP_TI_SCI_INTA_H */