summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-xgene-msi.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-08-05 18:24:22 -0500
committerBjorn Helgaas <bhelgaas@google.com>2020-08-05 18:24:22 -0500
commit6f119ec8d9c8f68c0432d902312045a699c3e52a (patch)
tree37a77220c6301b947b778a45e314719e20028a79 /drivers/pci/controller/pci-xgene-msi.c
parent65c2bc6ce972e7aee1523a0702d0eeac0570a01f (diff)
parentcaecb05c800081c57907749f787f05f62011564e (diff)
downloadlinux-6f119ec8d9c8f68c0432d902312045a699c3e52a.tar.bz2
Merge branch 'pci/irq-error'
- Remove redundant logging for platform_get_irq() errors (Krzysztof WilczyƄski) * pci/irq-error: PCI: Remove dev_err() when handing an error from platform_get_irq()
Diffstat (limited to 'drivers/pci/controller/pci-xgene-msi.c')
-rw-r--r--drivers/pci/controller/pci-xgene-msi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/controller/pci-xgene-msi.c b/drivers/pci/controller/pci-xgene-msi.c
index f4c02da84e59..02271c6d17a1 100644
--- a/drivers/pci/controller/pci-xgene-msi.c
+++ b/drivers/pci/controller/pci-xgene-msi.c
@@ -478,8 +478,6 @@ static int xgene_msi_probe(struct platform_device *pdev)
for (irq_index = 0; irq_index < NR_HW_IRQS; irq_index++) {
virt_msir = platform_get_irq(pdev, irq_index);
if (virt_msir < 0) {
- dev_err(&pdev->dev, "Cannot translate IRQ index %d\n",
- irq_index);
rc = virt_msir;
goto error;
}