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:
b7419dd
)
ASoC: rsnd: remove unnecessary 'out of memory' message from SSI
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 15 Jul 2015 07:08:24 +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/ssi.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sh/rcar/ssi.c
b/sound/soc/sh/rcar/ssi.c
index 2fbe59f7f9b5a845f5b97376de05bad6ff9c162f..d45b9a7e324efb49a5159417232c9f43815ebfed 100644
(file)
--- a/
sound/soc/sh/rcar/ssi.c
+++ b/
sound/soc/sh/rcar/ssi.c
@@
-770,10
+770,8
@@
int rsnd_ssi_probe(struct platform_device *pdev,
*/
nr = info->ssi_info_nr;
ssi = devm_kzalloc(dev, sizeof(*ssi) * nr, GFP_KERNEL);
- if (!ssi) {
- dev_err(dev, "SSI allocate failed\n");
+ if (!ssi)
return -ENOMEM;
- }
priv->ssi = ssi;
priv->ssi_nr = nr;