Skip to content

Commit

Permalink
soc: ti: ti_sci_inta_msi: Remove ti_sci_inta_msi_domain_free_irqs()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Gleixner committed Dec 16, 2021
1 parent 49fbfdc commit 7ad321a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions drivers/soc/ti/ti_sci_inta_msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,3 @@ int ti_sci_inta_msi_domain_alloc_irqs(struct device *dev,
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);
1 change: 0 additions & 1 deletion include/linux/soc/ti/ti_sci_inta_msi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 7ad321a

Please sign in to comment.