projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa7007
)
ASoC: rsnd: remove unnecessary 'out of memory' message from SRC
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 15 Jul 2015 07:08:44 +0000
(07:08 +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/src.c
patch
|
blob
|
history
diff --git
a/sound/soc/sh/rcar/src.c
b/sound/soc/sh/rcar/src.c
index c61c171801423fc03b98598a3fd1624c7eb4155c..37927ca66162bdbbb9348fe25aaa0cbb8f6cc62d 100644
(file)
--- a/
sound/soc/sh/rcar/src.c
+++ b/
sound/soc/sh/rcar/src.c
@@
-1047,10
+1047,8
@@
int rsnd_src_probe(struct platform_device *pdev,
return 0;
src = devm_kzalloc(dev, sizeof(*src) * nr, GFP_KERNEL);
- if (!src) {
- dev_err(dev, "SRC allocate failed\n");
+ if (!src)
return -ENOMEM;
- }
priv->src_nr = nr;
priv->src = src;