summaryrefslogtreecommitdiff
path: root/sound/soc/tegra
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-08-23 08:03:43 +0200
committerMark Brown <broonie@kernel.org>2017-08-23 10:52:10 +0100
commitf3f7df7635bd5fb6dbc8de150613d327a3bd6171 (patch)
tree7c87825cbe7abd962c7939c605fb8e4b2712988d /sound/soc/tegra
parent2a8bd83af30e3045b8b251191e759a2be9877816 (diff)
ASoC: tegra: Fix unused variable warning
Fixes: 2a8bd83af30e ("ASoC: tegra: Remove superfluous snd_soc_jack_free_gpios() call") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r--sound/soc/tegra/tegra_wm8903.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index ce498cc0914b..05f95944669a 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -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);
struct snd_soc_dai *codec_dai = rtd->codec_dai;
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);