diff options
author | Jerry Snitselaar <dev@snitselaar.org> | 2012-08-09 23:16:26 -0700 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-10 17:57:03 +0100 |
commit | 3876566a368b30908ec4195d58f04a411f22f736 (patch) | |
tree | b6ec5067d940abdcb4ca91f645f988ae88b1591c /sound/soc | |
parent | b545dd924b4ffaf1e4fdd73fe7e9b6eb01e45aea (diff) | |
download | linux-3876566a368b30908ec4195d58f04a411f22f736.tar.bz2 |
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')
-rw-r--r-- | sound/soc/soc-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 3a43fa6ba2ee..f585d0239551 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 |