From: Ding Xiang Date: Tue, 16 Jul 2019 09:54:08 +0000 (+0800) Subject: ata: libahci_platform: remove redundant dev_err message X-Git-Tag: v5.3-rc2~25^2~19 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c56cbfae62b7d572c7994c927202d337633cc7d9;p=users%2Fwilly%2Fxarray.git 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 Signed-off-by: Jens Axboe --- 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; }