aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-04-29 17:22:09 +0200
committerJens Axboe <axboe@kernel.dk>2019-05-09 11:19:32 -0600
commitcf12c6729c7405c06b3e1bfccac7aa7ad007e1b7 (patch)
tree0ec33303f7700ed9a6368c3162ddee1bd92cb87c /drivers/ata
parents390/dasd: fix build warning in dasd_eckd_build_cp_raw (diff)
downloadlinux-dev-cf12c6729c7405c06b3e1bfccac7aa7ad007e1b7.tar.xz
linux-dev-cf12c6729c7405c06b3e1bfccac7aa7ad007e1b7.zip
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: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_rcar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/sata_rcar.c b/drivers/ata/sata_rcar.c
index 59b2317acea9..3495e1733a8e 100644
--- a/drivers/ata/sata_rcar.c
+++ b/drivers/ata/sata_rcar.c
@@ -909,7 +909,6 @@ static int sata_rcar_probe(struct platform_device *pdev)
host = ata_host_alloc(dev, 1);
if (!host) {
- dev_err(dev, "ata_host_alloc failed\n");
ret = -ENOMEM;
goto err_pm_put;
}