summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorJerry Snitselaar <dev@snitselaar.org>2012-08-09 23:16:26 -0700
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-10 17:57:03 +0100
commit3876566a368b30908ec4195d58f04a411f22f736 (patch)
treeb6ec5067d940abdcb4ca91f645f988ae88b1591c /sound/soc/soc-core.c
parentb545dd924b4ffaf1e4fdd73fe7e9b6eb01e45aea (diff)
downloadop-kernel-dev-3876566a368b30908ec4195d58f04a411f22f736.zip
op-kernel-dev-3876566a368b30908ec4195d58f04a411f22f736.tar.gz
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>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 3a43fa6..f585d02 100644
--- a/sound/soc/soc-core.c
+++ b/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
OpenPOWER on IntegriCloud