Skip to content

Commit cf12c67

Browse files
geertuaxboe
authored andcommitted
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 <[email protected]> Reviewed-by: Sergei Shtylyov <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent e78c21d commit cf12c67

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/ata/sata_rcar.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ static int sata_rcar_probe(struct platform_device *pdev)
909909

910910
host = ata_host_alloc(dev, 1);
911911
if (!host) {
912-
dev_err(dev, "ata_host_alloc failed\n");
913912
ret = -ENOMEM;
914913
goto err_pm_put;
915914
}

0 commit comments

Comments
 (0)