]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ASoC: core: remove unused variable in soc_probe() in linux-next
authorJerry Snitselaar <dev@snitselaar.org>
Fri, 10 Aug 2012 06:16:26 +0000 (23:16 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 10 Aug 2012 16:57:03 +0000 (17:57 +0100)
With commit 28d528c8 "ASoC: core: Remove pointless error on card
registration failure", the variable ret is no longer used in
soc_probe() and generates an unused variable warning during a build.

Signed-off-by: Jerry Snitselaar <dev@snitselaar.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c

index 3a43fa6ba2ee7ba0b6006cfefa60c671f5ca3396..f585d023955110fcfe7a5fff28e2a6d9badfa204 100644 (file)
@@ -1814,7 +1814,6 @@ base_error:
 static int soc_probe(struct platform_device *pdev)
 {
        struct snd_soc_card *card = platform_get_drvdata(pdev);
-       int ret = 0;
 
        /*
         * no card, so machine driver should be registering card