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

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
...@@ -354,10 +354,8 @@ int rsnd_dvc_probe(struct platform_device *pdev, ...@@ -354,10 +354,8 @@ int rsnd_dvc_probe(struct platform_device *pdev,
} }
dvc = devm_kzalloc(dev, sizeof(*dvc) * nr, GFP_KERNEL); dvc = devm_kzalloc(dev, sizeof(*dvc) * nr, GFP_KERNEL);
if (!dvc) { if (!dvc)
dev_err(dev, "CMD allocate failed\n");
return -ENOMEM; return -ENOMEM;
}
priv->dvc_nr = nr; priv->dvc_nr = nr;
priv->dvc = dvc; priv->dvc = dvc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment