Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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