[alsa-devel] [PATCH] ASoC: sh: Remove redundant out of memory message

Cristian Done done.cristian at gmail.com
Sat Feb 25 11:16:29 CET 2017


Signed-off-by: Cristian Done <done.cristian at gmail.com>
---
 sound/soc/sh/fsi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index ead520182e26..6793dc359114 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -1964,7 +1964,6 @@ static int fsi_probe(struct platform_device *pdev)
 
 	master = devm_kzalloc(&pdev->dev, sizeof(*master), GFP_KERNEL);
 	if (!master) {
-		dev_err(&pdev->dev, "Could not allocate master\n");
 		return -ENOMEM;
 	}
 
-- 
2.11.0



More information about the Alsa-devel mailing list