aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-09-02 14:56:51 -0500
committerBjorn Helgaas <bhelgaas@google.com>2021-09-02 14:56:51 -0500
commit09cfc9db2db1a0c7a38033b16e2471c7c6becaf8 (patch)
treec20a4d6fe2d4a821ec2454f070555ae48327e097 /drivers/pci
parentMerge branch 'remotes/lorenzo/pci/tegra194' (diff)
parentPCI: xgene-msi: Remove redundant dev_err() call in xgene_msi_probe() (diff)
downloadlinux-dev-09cfc9db2db1a0c7a38033b16e2471c7c6becaf8.tar.xz
linux-dev-09cfc9db2db1a0c7a38033b16e2471c7c6becaf8.zip
Merge branch 'remotes/lorenzo/pci/xgene'
- Remove redundant dev_err() after devm_ioremap_resource() (ErKun Yang) * remotes/lorenzo/pci/xgene: PCI: xgene-msi: Remove redundant dev_err() call in xgene_msi_probe()
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/pci-xgene-msi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-xgene-msi.c b/drivers/pci/controller/pci-xgene-msi.c
index f1624bbb9f83..b7a8e062fcc5 100644
--- a/drivers/pci/controller/pci-xgene-msi.c
+++ b/drivers/pci/controller/pci-xgene-msi.c
@@ -448,7 +448,6 @@ static int xgene_msi_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
xgene_msi->msi_regs = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(xgene_msi->msi_regs)) {
- dev_err(&pdev->dev, "no reg space\n");
rc = PTR_ERR(xgene_msi->msi_regs);
goto error;
}