mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
ASoc: codecs: mt6359: remove useless initializations
cppcheck warning: sound/soc/codecs/mt6359.c:274:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] int i = 0, stage = 0; ^ sound/soc/codecs/mt6359.c:274:19: style: Variable 'stage' is assigned a value that is never used. [unreadVariable] int i = 0, stage = 0; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210426214701.235106-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b76d1d86a4
commit
d51f6dfb9c
@ -271,7 +271,7 @@ static void hp_aux_feedback_loop_gain_ramp(struct mt6359_priv *priv, bool up)
|
|||||||
|
|
||||||
static void hp_in_pair_current(struct mt6359_priv *priv, bool increase)
|
static void hp_in_pair_current(struct mt6359_priv *priv, bool increase)
|
||||||
{
|
{
|
||||||
int i = 0, stage = 0;
|
int i, stage;
|
||||||
int target = 0x3;
|
int target = 0x3;
|
||||||
|
|
||||||
/* Set input diff pair bias select (Hi-Fi mode) */
|
/* Set input diff pair bias select (Hi-Fi mode) */
|
||||||
|
Loading…
Reference in New Issue
Block a user