ASoC: tegra: Fix unused variable warning
authorTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 06:03:43 +0000 (08:03 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 23 Aug 2017 09:52:10 +0000 (10:52 +0100)
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>
sound/soc/tegra/tegra_wm8903.c

index ce498cc0914b8d677b305e2a6fe95181a6439bb3..05f95944669ad9c3607ac6ae02ac62ea72ccae1d 100644 (file)
@@ -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);