Merge branch 'pci/irq-error'
[linux-2.6-microblaze.git] / drivers / pci / controller / dwc / pci-imx6.c
index 12ac471..90df28c 100644 (file)
@@ -868,10 +868,8 @@ static int imx6_add_pcie_port(struct imx6_pcie *imx6_pcie,
 
        if (IS_ENABLED(CONFIG_PCI_MSI)) {
                pp->msi_irq = platform_get_irq_byname(pdev, "msi");
-               if (pp->msi_irq < 0) {
-                       dev_err(dev, "failed to get MSI irq\n");
+               if (pp->msi_irq < 0)
                        return pp->msi_irq;
-               }
        }
 
        pp->ops = &imx6_pcie_host_ops;