projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657e473
)
ASoC: fsl: remove unnecessary oom message
author
Zhen Lei
<thunder.leizhen@huawei.com>
Thu, 17 Jun 2021 10:31:41 +0000
(18:31 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 23 Jun 2021 10:49:38 +0000
(11:49 +0100)
Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message
Remove it can help us save a bit of memory.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link:
https://lore.kernel.org/r/20210617103141.1765-1-thunder.leizhen@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmix.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/imx-audmix.c
b/sound/soc/fsl/imx-audmix.c
index cbdc0a2c09c54b7224c8b014ea7947c617799e8f..a364e2415de0295794546687a692d8128b02b948 100644
(file)
--- a/
sound/soc/fsl/imx-audmix.c
+++ b/
sound/soc/fsl/imx-audmix.c
@@
-209,10
+209,8
@@
static int imx_audmix_probe(struct platform_device *pdev)
/* for CPU/Codec/Platform x 2 */
dlc = devm_kcalloc(&pdev->dev, 6, sizeof(*dlc), GFP_KERNEL);
- if (!dlc) {
- dev_err(&pdev->dev, "failed to allocate dai_link\n");
+ if (!dlc)
return -ENOMEM;
- }
ret = of_parse_phandle_with_args(audmix_np, "dais", NULL, i,
&args);