]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: tegra: fix compile warning in AC'97 driver
authorStephen Warren <swarren@nvidia.com>
Tue, 16 Jul 2013 17:00:44 +0000 (11:00 -0600)
committerMark Brown <broonie@linaro.org>
Wed, 17 Jul 2013 11:11:50 +0000 (12:11 +0100)
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>
sound/soc/tegra/tegra20_ac97.c

index e58233f7df616e6bb406f809cea23069c4059933..87b845f4cd1b7050a5ea4ceaa902637be45ee345 100644 (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: