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

Commit 33363f7a authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: rsnd: remove unnecessary 'out of memory' message from SRC



Current checkpatch.pl indicates 'out of memory' message is unnecessary.
Let's remove it

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: default avatarKeita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent afa70072
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1047,10 +1047,8 @@ int rsnd_src_probe(struct platform_device *pdev,
		return 0;

	src	= devm_kzalloc(dev, sizeof(*src) * nr, GFP_KERNEL);
	if (!src) {
		dev_err(dev, "SRC allocate failed\n");
	if (!src)
		return -ENOMEM;
	}

	priv->src_nr	= nr;
	priv->src	= src;