summaryrefslogtreecommitdiffstats
path: root/kernel/irq/msi.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-11-11 14:54:40 +0100
committerThomas Gleixner <tglx@linutronix.de>2022-11-17 15:15:20 +0100
commit13e7accb81d6c07993385af8342238ff22b41ac8 (patch)
tree7ca20066cb2dc5d1b13a7d06b459f0ba0822bcea /kernel/irq/msi.c
parentPCI/MSI: Get rid of PCI_MSI_IRQ_DOMAIN (diff)
downloadlinux-13e7accb81d6c07993385af8342238ff22b41ac8.tar.xz
linux-13e7accb81d6c07993385af8342238ff22b41ac8.zip
genirq: Get rid of GENERIC_MSI_IRQ_DOMAIN
Adjust to reality and remove another layer of pointless Kconfig indirection. CONFIG_GENERIC_MSI_IRQ is good enough to serve all purposes. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20221111122014.524842979@linutronix.de
Diffstat (limited to 'kernel/irq/msi.c')
-rw-r--r--kernel/irq/msi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index b46b74788087..4fde91703c9b 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -461,7 +461,6 @@ static inline int msi_sysfs_populate_desc(struct device *dev, struct msi_desc *d
static inline void msi_sysfs_remove_desc(struct device *dev, struct msi_desc *desc) { }
#endif /* !CONFIG_SYSFS */
-#ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
static int __msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev, int nvec);
static void __msi_domain_free_irqs(struct irq_domain *domain, struct device *dev);
@@ -1058,5 +1057,3 @@ struct msi_domain_info *msi_get_domain_info(struct irq_domain *domain)
{
return (struct msi_domain_info *)domain->host_data;
}
-
-#endif /* CONFIG_GENERIC_MSI_IRQ_DOMAIN */