mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
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: Ding Xiang <dingxiang@cmss.chinamobile.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
dbd0f6d6c2
commit
c56cbfae62
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user