mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
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()
This commit is contained in:
commit
09cfc9db2d
@ -448,7 +448,6 @@ static int xgene_msi_probe(struct platform_device *pdev)
|
|||||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||||
xgene_msi->msi_regs = devm_ioremap_resource(&pdev->dev, res);
|
xgene_msi->msi_regs = devm_ioremap_resource(&pdev->dev, res);
|
||||||
if (IS_ERR(xgene_msi->msi_regs)) {
|
if (IS_ERR(xgene_msi->msi_regs)) {
|
||||||
dev_err(&pdev->dev, "no reg space\n");
|
|
||||||
rc = PTR_ERR(xgene_msi->msi_regs);
|
rc = PTR_ERR(xgene_msi->msi_regs);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user