Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ded61eb authored by Fabio Estevam's avatar Fabio Estevam Committed by Mark Brown
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent d8764646
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -35,7 +35,6 @@ static int imx_spdif_audio_probe(struct platform_device *pdev)


	data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL);
	data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL);
	if (!data) {
	if (!data) {
		dev_err(&pdev->dev, "failed to allocate memory\n");
		ret = -ENOMEM;
		ret = -ENOMEM;
		goto end;
		goto end;
	}
	}