summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorDing Xiang <dingxiang@cmss.chinamobile.com>2019-07-16 12:54:08 +0300
committerJens Axboe <axboe@kernel.dk>2019-07-16 17:27:09 +0300
commitc56cbfae62b7d572c7994c927202d337633cc7d9 (patch)
treeb975e771e360670e2e327093ca7762d135e06ef9 /drivers/ata
parentdbd0f6d6c2a11eb9c31ca9cd454f95bb5713e92e (diff)
downloadlinux-c56cbfae62b7d572c7994c927202d337633cc7d9.tar.xz
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libahci_platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c
index 72312ad2e142..3a36e76eca83 100644
--- a/drivers/ata/libahci_platform.c
+++ b/drivers/ata/libahci_platform.c
@@ -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;
}