提交 6abcae32 编写于 作者: K Kuninori Morimoto 提交者: 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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: NKeita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 33363f7a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册