mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-17 10:04:14 +08:00
ASoC: da7219-aad: remove useless initialization
cppcheck warning: sound/soc/codecs/da7219-aad.c:118:22: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] int report = 0, ret = 0; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Link: https://lore.kernel.org/r/20210312182246.5153-8-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8d41c1ab24
commit
f8a684a4c2
@ -115,7 +115,7 @@ static void da7219_aad_hptest_work(struct work_struct *work)
|
||||
|
||||
__le16 tonegen_freq_hptest;
|
||||
u8 pll_srm_sts, pll_ctrl, gain_ramp_ctrl, accdet_cfg8;
|
||||
int report = 0, ret = 0;
|
||||
int report = 0, ret;
|
||||
|
||||
/* Lock DAPM, Kcontrols affected by this test and the PLL */
|
||||
snd_soc_dapm_mutex_lock(dapm);
|
||||
|
Loading…
Reference in New Issue
Block a user