Skip to content

Commit

Permalink
ASoC: imx-spdif: Remove error message upon devm_kzalloc() failure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Mark Brown committed Dec 2, 2013
1 parent d876464 commit 4ded61e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/fsl/imx-spdif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4ded61e

Please sign in to comment.