diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-11-06 22:20:33 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 13:01:45 +0100 |
commit | d71d6432e105fe80d33f930276bb146be4732330 (patch) | |
tree | ca42d013c37b5be7e29a456c17e433823b6c55da /drivers/pci | |
parent | 63a7b17e3fe8ef6217daa7be35e373c7807275f8 (diff) | |
download | op-kernel-dev-d71d6432e105fe80d33f930276bb146be4732330.zip op-kernel-dev-d71d6432e105fe80d33f930276bb146be4732330.tar.gz |
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 <jiang.liu@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/pci')
-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 df0170b..5cb471e 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++; |