diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-07-17 09:15:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-17 10:12:42 +0100 |
commit | 3d9501aff3032f41a0767906ebb5bd06a3753bde (patch) | |
tree | 8bff88270a9b17ef0233d703635c429094fc9cfe /sound | |
parent | 93e6958a3674d2fa42e2c24ad5156e65da1d8621 (diff) |
ASoC: Remove unused 'r' variable from dapm_connect_dai_link_widgets()
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 9a047f360993..8cb68a38ad19 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -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]; |