Commit c56cbfae authored by Ding Xiang's avatar Ding Xiang Committed by Jens Axboe

ata: libahci_platform: remove redundant dev_err message

devm_ioremap_resource already contains error message, so remove
the redundant dev_err message
Signed-off-by: default avatarDing Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent dbd0f6d6
......@@ -408,7 +408,6 @@ struct ahci_host_priv *ahci_platform_get_resources(struct platform_device *pdev,
hpriv->mmio = devm_ioremap_resource(dev,
platform_get_resource(pdev, IORESOURCE_MEM, 0));
if (IS_ERR(hpriv->mmio)) {
dev_err(dev, "no mmio space\n");
rc = PTR_ERR(hpriv->mmio);
goto err_out;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment