genirq/irqdomain: Remove unused irq_domain_check_msi_remap() code
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 8 Dec 2022 14:51:02 +0000 (10:51 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 11 Jan 2023 20:27:23 +0000 (16:27 -0400)
commita5e72a6bac14181249ffd04f35f6a7c9bf47fbb9
tree5bc329c5f2bc751b874f9014603d487342c10d73
parent25fc417f79381760382c34be699273554c8c5cc0
genirq/irqdomain: Remove unused irq_domain_check_msi_remap() code

After converting the users of irq_domain_check_msi_remap() it and the
helpers are no longer needed.

The new version does not require all the #ifdef helpers and inlines
because CONFIG_GENERIC_MSI_IRQ always requires CONFIG_IRQ_DOMAIN and
IRQ_DOMAIN_HIERARCHY.

Link: https://lore.kernel.org/r/5-v3-3313bb5dd3a3+10f11-secure_msi_jgg@nvidia.com
Tested-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
include/linux/irqdomain.h
kernel/irq/irqdomain.c