Commit 3876566a authored by Jerry Snitselaar's avatar Jerry Snitselaar Committed by Mark Brown

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: default avatarJerry Snitselaar <dev@snitselaar.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b545dd92
......@@ -1814,7 +1814,6 @@ static int snd_soc_instantiate_card(struct snd_soc_card *card)
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment