OSDN Git Service

x86/hyperv: Refactor hv_msi_domain_free_irqs()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:27:41 +0000 (23:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2021 10:52:21 +0000 (11:52 +0100)
commit1982afd6c0582c523970f5426cc1f11ef8ead7bd
tree7516a7c3bc9f998f349c2ee58351f7c7818f3549
parente58f2259b91c02974c20db7b28d39d810a21249b
x86/hyperv: Refactor hv_msi_domain_free_irqs()

No point in looking up things over and over. Just look up the associated
irq data and work from there.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Link: https://lore.kernel.org/r/20211206210224.429625690@linutronix.de
arch/x86/hyperv/irqdomain.c