diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2020-05-18 14:00:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-18 18:43:44 +0300 |
commit | 15b5c496ff99ce99ab3c5e98e96981d015b3168a (patch) | |
tree | fa8641aaebc53d570d5a115c9ddaaac901092fe3 /sound/soc/fsl | |
parent | f0a77d2b0e1ccad7e4086094f67d138e8c3050a2 (diff) | |
download | linux-15b5c496ff99ce99ab3c5e98e96981d015b3168a.tar.xz |
ASoC: fsl_micfil: Fix unused assignment in fsl_set_clock_params()
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>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r-- | sound/soc/fsl/fsl_micfil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index d31f027cd9cc..59cf95fa2b2d 100644 --- 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) |