summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann2015-11-23 10:35:54 +0100
committerMark Brown2015-11-25 13:59:02 +0100
commita29d0f3ef934dd9eb2fbb51eb0f112f48046ee91 (patch)
treea4ab2364082d28b13edbd187bb4d5e616663d182
parentASoC: fsl-asoc-card: Update the rtd query (diff)
downloadkernel-qcow2-linux-a29d0f3ef934dd9eb2fbb51eb0f112f48046ee91.tar.gz
kernel-qcow2-linux-a29d0f3ef934dd9eb2fbb51eb0f112f48046ee91.tar.xz
kernel-qcow2-linux-a29d0f3ef934dd9eb2fbb51eb0f112f48046ee91.zip
ASoC: rcar: remove unused variable
After a recent cleanup, the soc_card variable became unused and now produces a warning: soc/sh/rcar/core.c: In function '__rsnd_kctrl_new': soc/sh/rcar/core.c:801:23: warning: unused variable 'soc_card' [-Wunused-variable] This removes the variable. Fixes: 1a497983a5ae ("ASoC: Change the PCM runtime array to a list") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sh/rcar/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index 8c4f54b0cb92..e1da5654fa25 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -1033,7 +1033,6 @@ static int __rsnd_kctrl_new(struct rsnd_mod *mod,
void (*update)(struct rsnd_dai_stream *io,
struct rsnd_mod *mod))
{
- struct snd_soc_card *soc_card = rtd->card;
struct snd_card *card = rtd->card->snd_card;
struct snd_kcontrol *kctrl;
struct snd_kcontrol_new knew = {