mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
ASoC: codecs: lpass-rx-macro: remove redundant initialization of variable hph_pwr_mode
The variable hph_pwr_mode is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20210215200501.90697-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
907e0cdebc
commit
ff56878543
@ -2038,7 +2038,7 @@ static int rx_macro_load_compander_coeff(struct snd_soc_component *component,
|
||||
{
|
||||
u16 comp_coeff_lsb_reg, comp_coeff_msb_reg;
|
||||
int i;
|
||||
int hph_pwr_mode = HPH_LOHIFI;
|
||||
int hph_pwr_mode;
|
||||
|
||||
if (!rx->comp_enabled[comp])
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user