ASoC: tegra: Remove unused variable
Subsystems (3)
PATCH 1/1 ASoC: tegra: Remove unused variable
From: Stephen Warren <[email protected]>
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 <[email protected]>
--- sound/soc/tegra/tegra_alc5632.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/tegra/tegra_alc5632.c +0 -1
@@ -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);
Signature · 1 line
1.7.0.4
Mark Brown
AppliedQuoted 3 lines · Stephen Warren
From: Stephen Warren <[email protected]>
Fixes the following warning:
Applied, thanks.