Skip to contentSkip to conversation

linux-next: build warning after merge of the sound-asoc tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 23, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

sound/soc/tegra/tegra_wm8903.c: In function 'tegra_wm8903_remove':
sound/soc/tegra/tegra_wm8903.c:206:23: warning: unused variable 'machine' [-Wunused-variable]

  struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card);
                       ^

Introduced by commit

2a8bd83af30e ("ASoC: tegra: Remove superfluous snd_soc_jack_free_gpios() call")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 6 lines · Stephen Rothwell

Hi all,

After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

Quoted 8 lines

sound/soc/tegra/tegra_wm8903.c: In function 'tegra_wm8903_remove':
sound/soc/tegra/tegra_wm8903.c:206:23: warning: unused variable 'machine' [-Wunused-variable]

  struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card);
                       ^

Introduced by commit

2a8bd83af30e ("ASoC: tegra: Remove superfluous snd_soc_jack_free_gpios() call")

My bad, will submit the fix patch.

thanks,

Takashi