SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH] ASoC: rsrc-card: Remove unused variable in rsrc_card_startup()
@ 2015-06-22  8:34 Geert Uytterhoeven
  2015-06-22  8:41 ` Kuninori Morimoto
  0 siblings, 1 reply; 8+ messages in thread
From: Geert Uytterhoeven @ 2015-06-22  8:34 UTC (permalink / raw)
  To: Kuninori Morimoto, Liam Girdwood, Mark Brown
  Cc: alsa-devel, linux-sh, Geert Uytterhoeven

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@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

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-06-22 11:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-22  8:34 [PATCH] ASoC: rsrc-card: Remove unused variable in rsrc_card_startup() Geert Uytterhoeven
2015-06-22  8:41 ` Kuninori Morimoto
2015-06-22  9:05   ` Geert Uytterhoeven
2015-06-22  9:52     ` [alsa-devel] " Takashi Iwai
2015-06-22  9:56       ` Mark Brown
2015-06-22  9:59         ` Takashi Iwai
2015-06-22 10:23           ` Mark Brown
2015-06-22 11:28             ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox