Skip to content

Commit 7ad321a

Browse files
committed
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 <[email protected]> Tested-by: Nishanth Menon <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 49fbfdc commit 7ad321a

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

drivers/soc/ti/ti_sci_inta_msi.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,3 @@ int ti_sci_inta_msi_domain_alloc_irqs(struct device *dev,
122122
return ret;
123123
}
124124
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);

include/linux/soc/ti/ti_sci_inta_msi.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ struct irq_domain
1818
struct irq_domain *parent);
1919
int ti_sci_inta_msi_domain_alloc_irqs(struct device *dev,
2020
struct ti_sci_resource *res);
21-
void ti_sci_inta_msi_domain_free_irqs(struct device *dev);
2221
#endif /* __INCLUDE_LINUX_IRQCHIP_TI_SCI_INTA_H */

0 commit comments

Comments
 (0)