From: Arnd Bergmann Date: Mon, 23 Nov 2015 09:35:54 +0000 (+0100) Subject: ASoC: rcar: remove unused variable X-Git-Tag: v4.5-rc1~20^2~24^2~9^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a29d0f3ef934dd9eb2fbb51eb0f112f48046ee91;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index 8c4f54b..e1da565 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 = {