Commit f3f7df76 authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: tegra: Fix unused variable warning

Fixes: 2a8bd83a ("ASoC: tegra: Remove superfluous snd_soc_jack_free_gpios() call")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2a8bd83a
...@@ -203,7 +203,6 @@ static int tegra_wm8903_remove(struct snd_soc_card *card) ...@@ -203,7 +203,6 @@ static int tegra_wm8903_remove(struct snd_soc_card *card)
snd_soc_get_pcm_runtime(card, card->dai_link[0].name); snd_soc_get_pcm_runtime(card, card->dai_link[0].name);
struct snd_soc_dai *codec_dai = rtd->codec_dai; struct snd_soc_dai *codec_dai = rtd->codec_dai;
struct snd_soc_codec *codec = codec_dai->codec; struct snd_soc_codec *codec = codec_dai->codec;
struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card);
wm8903_mic_detect(codec, NULL, 0, 0); wm8903_mic_detect(codec, NULL, 0, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment