mtd: plat-ram: remove redundant dev_err call in platram_probe()
[platform/kernel/linux-starfive.git] / drivers / mtd / maps / plat-ram.c
index 0bec7c7..cedd8ef 100644 (file)
@@ -127,7 +127,6 @@ static int platram_probe(struct platform_device *pdev)
        info->map.virt = devm_ioremap_resource(&pdev->dev, res);
        if (IS_ERR(info->map.virt)) {
                err = PTR_ERR(info->map.virt);
-               dev_err(&pdev->dev, "failed to ioremap() region\n");
                goto exit_free;
        }