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 <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Stephen Warren 2013-07-16 11:00:44 -06:00 committed by Mark Brown
parent 22abf843af
commit d0c05ad782

View File

@ -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: