diff options
author | Jiang Liu <[email protected]> | 2014-11-06 22:20:33 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-11-23 13:01:45 +0100 |
commit | d71d6432e105fe80d33f930276bb146be4732330 (patch) | |
tree | ca42d013c37b5be7e29a456c17e433823b6c55da | |
parent | 63a7b17e3fe8ef6217daa7be35e373c7807275f8 (diff) |
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]>
-rw-r--r-- | drivers/pci/msi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index df0170b8da73..5cb471ec3e61 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -695,7 +695,6 @@ static void msix_program_entries(struct pci_dev *dev, PCI_MSIX_ENTRY_VECTOR_CTRL; entries[i].vector = entry->irq; - irq_set_msi_desc(entry->irq, entry); entry->masked = readl(entry->mask_base + offset); msix_mask_irq(entry, 1); i++; |