ASoC: imx-spdif: Remove error message upon devm_kzalloc() failure
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Dec 2013 02:41:24 +0000 (00:41 -0200)
committerMark Brown <broonie@linaro.org>
Mon, 2 Dec 2013 11:12:39 +0000 (11:12 +0000)
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>
sound/soc/fsl/imx-spdif.c

index 8499d5292f088a45e9ea736106ee2db13e7d205a..980dd1fc9113c33f1c991fed2983d6cbc289fcd8 100644 (file)
@@ -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;
        }