aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-17 10:56:50 -0400
committerBjorn Helgaas <bhelgaas@google.com>2016-11-11 16:42:40 -0500
commitad719956a8487753e6514d7be3b4a6edc99e35bd (patch)
treeb0cec61e44c43bc8c8a7d616ca542d0d52ab73ac
parent1001354ca34179f3db924eb66672442a173147dc (diff)
PCI: hisi: Remove redundant error message from hisi_pcie_probe()
There is an error message from devm_ioremap_resource() already, so remove the dev_err() call to avoid redundant error messages. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/host/pcie-hisi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/host/pcie-hisi.c b/drivers/pci/host/pcie-hisi.c
index 56154c25980c..a77b9bda1974 100644
--- a/drivers/pci/host/pcie-hisi.c
+++ b/drivers/pci/host/pcie-hisi.c
@@ -185,10 +185,8 @@ static int hisi_pcie_probe(struct platform_device *pdev)
185 185
186 reg = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rc_dbi"); 186 reg = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rc_dbi");
187 pp->dbi_base = devm_ioremap_resource(dev, reg); 187 pp->dbi_base = devm_ioremap_resource(dev, reg);
188 if (IS_ERR(pp->dbi_base)) { 188 if (IS_ERR(pp->dbi_base))
189 dev_err(dev, "cannot get rc_dbi base\n");
190 return PTR_ERR(pp->dbi_base); 189 return PTR_ERR(pp->dbi_base);
191 }
192 190
193 ret = hisi_add_pcie_port(hisi_pcie, pdev); 191 ret = hisi_add_pcie_port(hisi_pcie, pdev);
194 if (ret) 192 if (ret)