diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-27 01:16:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-31 20:00:37 +0300 |
commit | 458c23c509f66c5950da7e5496ea952ad15128f7 (patch) | |
tree | e561bee01924ed38282042ea6ce3783718ef33af /scripts | |
parent | ad858508fd6ac58258dd25fd2063a6f6e10426f7 (diff) | |
download | linux-458c23c509f66c5950da7e5496ea952ad15128f7.tar.xz |
ASoC: lm49453: fix useless assignment before return
Cppcheck warning:
sound/soc/codecs/lm49453.c:1210:11: style: Variable 'pll_clk' is
assigned a value that is never used. [unreadVariable]
pll_clk = BIT(4);
^
FIXME: What is the correct fix?
/* fll clk slection */
pll_clk = BIT(4);
return 0;
is the assignment redundant or the 'return 0' a mistake?
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210326221619.949961-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions