diff options
author | Jerry Snitselaar <dev@snitselaar.org> | 2012-08-10 06:16:26 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-10 16:57:03 (GMT) |
commit | 3876566a368b30908ec4195d58f04a411f22f736 (patch) | |
tree | b6ec5067d940abdcb4ca91f645f988ae88b1591c /sound | |
parent | b545dd924b4ffaf1e4fdd73fe7e9b6eb01e45aea (diff) | |
download | linux-fsl-qoriq-3876566a368b30908ec4195d58f04a411f22f736.tar.xz |
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')
-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 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 |