ASoC: Remove unused 'r' variable from dapm_connect_dai_link_widgets()
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 17 Jul 2014 07:15:34 +0000 (09:15 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 17 Jul 2014 09:12:42 +0000 (10:12 +0100)
It was accidentally added in commit 44ba2641 ("ASoC: dapm: Add support for DAI
multicodec").

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c

index 9a047f360993cba2fe4ac87bf10ce17d537d65eb..8cb68a38ad19a0e700378f6604a65158672ff4fa 100644 (file)
@@ -3399,11 +3399,8 @@ static void dapm_connect_dai_link_widgets(struct snd_soc_card *card,
 {
        struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
        struct snd_soc_dapm_widget *sink, *source;
-       struct snd_soc_dapm_route r;
        int i;
 
-       memset(&r, 0, sizeof(r));
-
        for (i = 0; i < rtd->num_codecs; i++) {
                struct snd_soc_dai *codec_dai = rtd->codec_dais[i];