summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-09-02 22:56:51 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-09-02 22:56:51 +0300
commit09cfc9db2db1a0c7a38033b16e2471c7c6becaf8 (patch)
treec20a4d6fe2d4a821ec2454f070555ae48327e097 /drivers/pci
parent4a4547db5612da9ac2404c014b258add369b5b16 (diff)
parent9e4ae52cabd8aec21360a44b90c4ec6b287eb0d2 (diff)
downloadlinux-09cfc9db2db1a0c7a38033b16e2471c7c6becaf8.tar.xz
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;
}