diff mbox series

ata: libahci_platform: remove redundant dev_err message

Message ID 1563270848-11223-1-git-send-email-dingxiang@cmss.chinamobile.com
State Not Applicable
Delegated to: David Miller
Headers show
Series ata: libahci_platform: remove redundant dev_err message | expand

Commit Message

Ding Xiang July 16, 2019, 9:54 a.m. UTC
devm_ioremap_resource already contains error message, so remove
the redundant dev_err message

Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
---
 drivers/ata/libahci_platform.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jens Axboe July 16, 2019, 2:14 p.m. UTC | #1
On 7/16/19 3:54 AM, Ding Xiang wrote:
> devm_ioremap_resource already contains error message, so remove
> the redundant dev_err message

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c
index 72312ad..3a36e76 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;
 	}