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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2015-07-15 07:09:07 +00:00 committed by Mark Brown
parent 33363f7a18
commit 6abcae32ea

View File

@ -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;