git.codelabs.ch
/
muen
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: rsnd: Delete an error message for a failed memory allocation in three functions
[muen/linux.git]
/
sound
/
soc
/
sh
/
rcar
/
adg.c
diff --git
a/sound/soc/sh/rcar/adg.c
b/sound/soc/sh/rcar/adg.c
index 5b5389e5b92b3e5da3dbaa66bea9b6b5bbfce894..938baff86ef280a9b6f6d93a4e4e7283a3ea9eb8 100644
(file)
--- a/
sound/soc/sh/rcar/adg.c
+++ b/
sound/soc/sh/rcar/adg.c
@@
-586,10
+586,8
@@
int rsnd_adg_probe(struct rsnd_priv *priv)
int ret;
adg = devm_kzalloc(dev, sizeof(*adg), GFP_KERNEL);
- if (!adg) {
- dev_err(dev, "ADG allocate failed\n");
+ if (!adg)
return -ENOMEM;
- }
ret = rsnd_mod_init(priv, &adg->mod, &adg_ops,
NULL, NULL, 0, 0);