Commit cf12c672 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jens Axboe

sata_rcar: Remove ata_host_alloc() error printing

ata_host_alloc() can only fail due to memory allocation failures.
Hence there is no need to print a message, as the memory allocation core
code already takes care of that.
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Reviewed-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e78c21d1
...@@ -909,7 +909,6 @@ static int sata_rcar_probe(struct platform_device *pdev) ...@@ -909,7 +909,6 @@ static int sata_rcar_probe(struct platform_device *pdev)
host = ata_host_alloc(dev, 1); host = ata_host_alloc(dev, 1);
if (!host) { if (!host) {
dev_err(dev, "ata_host_alloc failed\n");
ret = -ENOMEM; ret = -ENOMEM;
goto err_pm_put; goto err_pm_put;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment