ASoC: rt5651: remove useless assignment
cppcheck warning: sound/soc/codecs/rt5651.c:1786:13: style: Variable 'report' is assigned a value that is never used. [unreadVariable] int report = 0; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210302212527.55158-13-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
33eaffe370
commit
9b9adc5b74
@ -1783,7 +1783,7 @@ static void rt5651_jack_detect_work(struct work_struct *work)
|
||||
struct rt5651_priv *rt5651 =
|
||||
container_of(work, struct rt5651_priv, jack_detect_work);
|
||||
struct snd_soc_component *component = rt5651->component;
|
||||
int report = 0;
|
||||
int report;
|
||||
|
||||
if (!rt5651_jack_inserted(component)) {
|
||||
/* Jack removed, or spurious IRQ? */
|
||||
|
Loading…
Reference in New Issue
Block a user