The following commit has been merged into the x86/irq branch of tip:

Commit-ID:     9d55f02ad4e8bc67439ff6f8508e2275c3c5d41c
Gitweb:        
https://git.kernel.org/tip/9d55f02ad4e8bc67439ff6f8508e2275c3c5d41c
Author:        Thomas Gleixner <[email protected]>
AuthorDate:    Wed, 26 Aug 2020 13:16:34 +02:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Wed, 16 Sep 2020 16:52:29 +02:00

x86/msi: Remove pointless vcpu_affinity callback

Setting the irq_set_vcpu_affinity() callback to
irq_chip_set_vcpu_affinity_parent() is a pointless exercise because the
function which utilizes it searchs the domain hierarchy to find a parent
domain which has such a callback.

Remove the useless indirection.

Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]

---
 arch/x86/kernel/apic/msi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c
index 5e8465e..f4ed814 100644
--- a/arch/x86/kernel/apic/msi.c
+++ b/arch/x86/kernel/apic/msi.c
@@ -278,7 +278,6 @@ static struct irq_chip pci_msi_ir_controller = {
        .irq_mask               = pci_msi_mask_irq,
        .irq_ack                = irq_chip_ack_parent,
        .irq_retrigger          = irq_chip_retrigger_hierarchy,
-       .irq_set_vcpu_affinity  = irq_chip_set_vcpu_affinity_parent,
        .flags                  = IRQCHIP_SKIP_SET_WAKE,
 };
 

Reply via email to