[alsa-devel] [PATCH] ASoC: rsrc-card: Remove unused variable in rsrc_card_startup()
Geert Uytterhoeven
geert+renesas at glider.be
Mon Jun 22 10:34:33 CEST 2015
sound/soc/sh/rcar/rsrc-card.c: In function 'rsrc_card_startup':
sound/soc/sh/rcar/rsrc-card.c:78:6: warning: unused variable 'ret' [-Wunused-variable]
int ret;
^
Fixes: 047000278da3a17f ("ASoC: rsrc-card: cleanup for DPCM")
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
sound/soc/sh/rcar/rsrc-card.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/sh/rcar/rsrc-card.c
index 8caca2e180c39122..84e935711e29e442 100644
--- a/sound/soc/sh/rcar/rsrc-card.c
+++ b/sound/soc/sh/rcar/rsrc-card.c
@@ -75,8 +75,6 @@ static int rsrc_card_startup(struct snd_pcm_substream *substream)
struct rsrc_card_priv *priv = snd_soc_card_get_drvdata(rtd->card);
struct rsrc_card_dai *dai_props =
rsrc_priv_to_props(priv, rtd - rtd->card->rtd);
- int ret;
-
return clk_prepare_enable(dai_props->clk);
}
--
1.9.1
More information about the Alsa-devel
mailing list