OSDN Git Service

ASoC: codecs: lpass-rx-macro: remove redundant initialization of variable hph_pwr_mode
authorColin Ian King <colin.king@canonical.com>
Mon, 15 Feb 2021 20:05:01 +0000 (20:05 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:07:17 +0000 (13:07 +0000)
commitff5687854323533668ec06dd38808bae9a984f68
tree9de3365ca5a0c5021384e70d2e4d9a4fc9dc422f
parent907e0cdebc1f36623ca8ce6a6376abb1ad56e93d
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>
sound/soc/codecs/lpass-rx-macro.c