mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 07:31:45 +00:00
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>
This commit is contained in:
parent
b545dd924b
commit
3876566a36
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user