Kaynağa Gözat

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

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

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Fabio Estevam 11 yıl önce
ebeveyn
işleme
4ded61eb3e
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      sound/soc/fsl/imx-spdif.c

+ 0 - 1
sound/soc/fsl/imx-spdif.c

@@ -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;
 	}