Skip to contentSkip to conversation

ASoC: imx-spdif: Remove error message upon devm_kzalloc() failure

PATCH Applied Fabio Estevam 2 participants 2 messages Dec 2, 2013

Subsystems (4)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ASoC: imx-spdif: Remove error message upon devm_kzalloc() failure

From: Fabio Estevam <[email protected]>

No need to have a specific OOM message, since there is generic MM out of memory message in place.

---
 sound/soc/fsl/imx-spdif.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/fsl/imx-spdif.c +0 -1
index 8499d52..980dd1f 100644
@@ -35,7 +35,6 @@ static int imx_spdif_audio_probe(struct platform_device *pdev)
 
 	data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL);
 	if (!data) {
-		dev_err(&pdev->dev, "failed to allocate memory\n");
 		ret = -ENOMEM;
 		goto end;
 	}
Signature · 1 line
1.8.1.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

No need to have a specific OOM message, since there is generic MM out of memory message in place.

Applied, thanks.