projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33363f7
)
ASoC: rsnd: remove unnecessary 'out of memory' message from DVC
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 15 Jul 2015 07:09:07 +0000
(07:09 +0000)
committer
Mark Brown
<broonie@kernel.org>
Thu, 16 Jul 2015 21:10:32 +0000
(22:10 +0100)
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>
sound/soc/sh/rcar/dvc.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sh/rcar/dvc.c
b/sound/soc/sh/rcar/dvc.c
index 36fc020cbc1803cbec2a7e1a225ae8690ea84a98..dbf0da6ce8a52d635ac4bf2442bb0b2ada7f8861 100644
(file)
--- a/
sound/soc/sh/rcar/dvc.c
+++ b/
sound/soc/sh/rcar/dvc.c
@@
-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;