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

Commit 6abcae32 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

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



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 33363f7a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -354,10 +354,8 @@ int rsnd_dvc_probe(struct platform_device *pdev,
	}

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

	priv->dvc_nr	= nr;
	priv->dvc	= dvc;