From: Stephen Warren Date: Tue, 16 Jul 2013 17:00:44 +0000 (-0600) Subject: ASoC: tegra: fix compile warning in AC'97 driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d0c05ad7827df545760e7659471965ce4ccf655d;p=linux-beck.git ASoC: tegra: fix compile warning in AC'97 driver This fixes the following by deleting dead code: sound/soc/tegra/tegra20_ac97.c: In function ‘tegra20_ac97_platform_probe’: sound/soc/tegra/tegra20_ac97.c:435:1: warning: label ‘err_unregister_pcm’ defined but not used [-Wunused-label] Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c index e58233f7df61..87b845f4cd1b 100644 --- a/sound/soc/tegra/tegra20_ac97.c +++ b/sound/soc/tegra/tegra20_ac97.c @@ -432,8 +432,6 @@ static int tegra20_ac97_platform_probe(struct platform_device *pdev) return 0; -err_unregister_pcm: - tegra_pcm_platform_unregister(&pdev->dev); err_unregister_component: snd_soc_unregister_component(&pdev->dev); err_asoc_utils_fini: