diff options
| author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-10 18:43:26 -0600 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-03-11 13:24:13 +0000 |
| commit | 13119a311aeb5a91ea751f10e4158a86361c2f08 (patch) | |
| tree | 7702db8f8760fceb6a7ce82478330e518a03733b /scripts/gdb/linux/config.py | |
| parent | 43fe3fe8b31685ccb2e248799ce3e9f9a15938fb (diff) | |
ASoC: wm8903: remove useless assignments
cppcheck warnings:
sound/soc/codecs/wm8903.c:1552:11: style: Variable 'best_val' is
assigned a value that is never used. [unreadVariable]
best_val = ((clk_sys * 10) / bclk_divs[0].ratio) - bclk;
^
sound/soc/codecs/wm8903.c:1559:12: style: Variable 'best_val' is
assigned a value that is never used. [unreadVariable]
best_val = cur_val;
^
Indeed what matters in the code is the blck_div, the best_val is
assigned but never tested or used.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210311004332.120901-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions
