All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, linux-sh@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH] ASoC: rsrc-card: Remove unused variable in rsrc_card_startup()
Date: Mon, 22 Jun 2015 08:34:33 +0000	[thread overview]
Message-ID: <1434962073-9597-1-git-send-email-geert+renesas@glider.be> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, linux-sh@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH] ASoC: rsrc-card: Remove unused variable in rsrc_card_startup()
Date: Mon, 22 Jun 2015 10:34:33 +0200	[thread overview]
Message-ID: <1434962073-9597-1-git-send-email-geert+renesas@glider.be> (raw)

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

             reply	other threads:[~2015-06-22  8:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-22  8:34 Geert Uytterhoeven [this message]
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  8:41   ` Kuninori Morimoto
2015-06-22  9:05   ` Geert Uytterhoeven
2015-06-22  9:05     ` Geert Uytterhoeven
2015-06-22  9:52     ` [alsa-devel] " Takashi Iwai
2015-06-22  9:52       ` Takashi Iwai
2015-06-22  9:56       ` Mark Brown
2015-06-22  9:56         ` Mark Brown
2015-06-22  9:59         ` Takashi Iwai
2015-06-22  9:59           ` Takashi Iwai
2015-06-22 10:23           ` Mark Brown
2015-06-22 10:23             ` Mark Brown
2015-06-22 11:28             ` Takashi Iwai
2015-06-22 11:28               ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434962073-9597-1-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.