Skip to content

Commit d71d643

Browse files
Jiang LiuKAGA-KOKO
authored andcommitted
PCI/MSI: Kill redundant call of irq_set_msi_desc() for MSI-X interrupts
It is the repsonsibility of arch_setup_msi_irq()/arch_setup_msi_irqs() to call irq_set_msi_desc() to associate IRQ descriptors and MSI descriptors. Kill the redundant call of irq_set_msi_desc() for MSI-X interrupts in the PCI MSI core. Signed-off-by: Jiang Liu <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Grant Likely <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Yingjoe Chen <[email protected]> Cc: Yijing Wang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 63a7b17 commit d71d643

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/pci/msi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,6 @@ static void msix_program_entries(struct pci_dev *dev,
695695
PCI_MSIX_ENTRY_VECTOR_CTRL;
696696

697697
entries[i].vector = entry->irq;
698-
irq_set_msi_desc(entry->irq, entry);
699698
entry->masked = readl(entry->mask_base + offset);
700699
msix_mask_irq(entry, 1);
701700
i++;

0 commit comments

Comments
 (0)