Browse Source

ASoC: core: remove unused variable in soc_probe() in linux-next

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>
Jerry Snitselaar 13 years ago
parent
commit
3876566a36
1 changed files with 0 additions and 1 deletions
  1. 0 1
      sound/soc/soc-core.c

+ 0 - 1
sound/soc/soc-core.c

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