projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0a77d2
)
ASoC: fsl_micfil: Fix unused assignment in fsl_set_clock_params()
author
Tang Bin
<tangbin@cmss.chinamobile.com>
Mon, 18 May 2020 11:00:40 +0000
(19:00 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 18 May 2020 15:43:44 +0000
(16:43 +0100)
Delete unused initialized value of 'ret', because it will
be assigned by the function fsl_micfil_set_mclk_rate().
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link:
https://lore.kernel.org/r/20200518110040.18036-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_micfil.c
b/sound/soc/fsl/fsl_micfil.c
index d31f027cd9ccea9f5c99ddb66f81d632b8898c3d..59cf95fa2b2dd1227f0e135540d529715c5b875d 100644
(file)
--- a/
sound/soc/fsl/fsl_micfil.c
+++ b/
sound/soc/fsl/fsl_micfil.c
@@
-295,7
+295,7
@@
static int fsl_set_clock_params(struct device *dev, unsigned int rate)
{
struct fsl_micfil *micfil = dev_get_drvdata(dev);
int clk_div;
- int ret
= 0
;
+ int ret;
ret = fsl_micfil_set_mclk_rate(micfil, rate);
if (ret < 0)