summaryrefslogtreecommitdiff
path: root/kernel/irq/msi.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-12-07 01:27:29 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-12-09 13:52:20 +0300
commit1dd2c6a0817fd08f80dee75d7d3bd99a0c4b828d (patch)
tree89c9ff36acf717190e46c82bfac9df927194ece3 /kernel/irq/msi.c
parent1197528aaea79ed4909aba695d18fdecc5387a36 (diff)
downloadlinux-1dd2c6a0817fd08f80dee75d7d3bd99a0c4b828d.tar.xz
genirq/msi: Remove unused domain callbacks
No users and there is no need to grow them. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20211126223824.322987915@linutronix.de Link: https://lore.kernel.org/r/20211206210224.041777889@linutronix.de
Diffstat (limited to 'kernel/irq/msi.c')
-rw-r--r--kernel/irq/msi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index a8a0daeb22f5..cd4fa264c7c6 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -562,8 +562,6 @@ int __msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev,
ret = -ENOSPC;
if (ops->handle_error)
ret = ops->handle_error(domain, desc, ret);
- if (ops->msi_finish)
- ops->msi_finish(&arg, ret);
return ret;
}
@@ -573,9 +571,6 @@ int __msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev,
}
}
- if (ops->msi_finish)
- ops->msi_finish(&arg, 0);
-
can_reserve = msi_check_reservation_mode(domain, info, dev);
/*