diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-02-15 20:05:01 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 13:07:17 +0000 |
commit | ff5687854323533668ec06dd38808bae9a984f68 (patch) | |
tree | 9de3365ca5a0c5021384e70d2e4d9a4fc9dc422f /sound/soc/codecs/lpass-rx-macro.c | |
parent | ASoC: fsl_sai: Add pm qos cpu latency support (diff) | |
download | linux-ff5687854323533668ec06dd38808bae9a984f68.tar.gz linux-ff5687854323533668ec06dd38808bae9a984f68.tar.bz2 linux-ff5687854323533668ec06dd38808bae9a984f68.zip |
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>
Diffstat (limited to 'sound/soc/codecs/lpass-rx-macro.c')
-rw-r--r-- | sound/soc/codecs/lpass-rx-macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c index 8c04b3b2c907..76909c50d7b9 100644 --- a/sound/soc/codecs/lpass-rx-macro.c +++ b/sound/soc/codecs/lpass-rx-macro.c @@ -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; |