projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77be181
)
ASoC: mxs-saif: Fix unused assignment
author
Tang Bin
<tangbin@cmss.chinamobile.com>
Wed, 29 Apr 2020 09:38:23 +0000
(17:38 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 29 Apr 2020 13:23:19 +0000
(14:23 +0100)
Delete unused initialized value, because 'ret' will be assigined
by the function of_alias_get_id().
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link:
https://lore.kernel.org/r/20200429093823.1372-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mxs/mxs-saif.c
patch
|
blob
|
history
diff --git
a/sound/soc/mxs/mxs-saif.c
b/sound/soc/mxs/mxs-saif.c
index 64c095b91d353ed98614b78f868e711bc5fbd73c..07f8cf9980e31afe73d3b695e7dd2f8f3f1a3de2 100644
(file)
--- a/
sound/soc/mxs/mxs-saif.c
+++ b/
sound/soc/mxs/mxs-saif.c
@@
-733,7
+733,7
@@
static int mxs_saif_probe(struct platform_device *pdev)
{
struct device_node *np = pdev->dev.of_node;
struct mxs_saif *saif;
- int irq, ret
= 0
;
+ int irq, ret;
struct device_node *master;
saif = devm_kzalloc(&pdev->dev, sizeof(*saif), GFP_KERNEL);