Skip to content

Commit

Permalink
ata: libahci_platform: remove redundant dev_err message
Browse files Browse the repository at this point in the history
devm_ioremap_resource already contains error message, so remove
the redundant dev_err message

Signed-off-by: Ding Xiang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Ding Xiang authored and axboe committed Jul 16, 2019
1 parent dbd0f6d commit c56cbfa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/ata/libahci_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c56cbfa

Please sign in to comment.