ASoC: tegra: Remove unused variable
authorStephen Warren <swarren@wwwdotorg.org>
Tue, 6 Mar 2012 19:13:07 +0000 (12:13 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Mar 2012 20:06:59 +0000 (20:06 +0000)
Fixes the following warning:

sound/soc/tegra/tegra_alc5632.c: In function 'tegra_alc5632_asoc_init':
sound/soc/tegra/tegra_alc5632.c:118:6: warning: unused variable 'ret' [-Wunused-variable]

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_alc5632.c

index 2a27725cc9b1687a9a7ee4d8f40d953c9eb3e7ec..e45ccd851f6a9133065303ab8c04c6737f53e0ec 100644 (file)
@@ -115,7 +115,6 @@ static int tegra_alc5632_asoc_init(struct snd_soc_pcm_runtime *rtd)
        struct snd_soc_dapm_context *dapm = &codec->dapm;
        struct device_node *np = codec->card->dev->of_node;
        struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(codec->card);
-       int ret;
 
        snd_soc_jack_new(codec, "Headset Jack", SND_JACK_HEADSET,
                         &tegra_alc5632_hs_jack);