diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-07-17 03:15:34 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-17 05:12:42 -0400 |
commit | 3d9501aff3032f41a0767906ebb5bd06a3753bde (patch) | |
tree | 8bff88270a9b17ef0233d703635c429094fc9cfe | |
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>
-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, | |||
3399 | { | 3399 | { |
3400 | struct snd_soc_dai *cpu_dai = rtd->cpu_dai; | 3400 | struct snd_soc_dai *cpu_dai = rtd->cpu_dai; |
3401 | struct snd_soc_dapm_widget *sink, *source; | 3401 | struct snd_soc_dapm_widget *sink, *source; |
3402 | struct snd_soc_dapm_route r; | ||
3403 | int i; | 3402 | int i; |
3404 | 3403 | ||
3405 | memset(&r, 0, sizeof(r)); | ||
3406 | |||
3407 | for (i = 0; i < rtd->num_codecs; i++) { | 3404 | for (i = 0; i < rtd->num_codecs; i++) { |
3408 | struct snd_soc_dai *codec_dai = rtd->codec_dais[i]; | 3405 | struct snd_soc_dai *codec_dai = rtd->codec_dais[i]; |
3409 | 3406 | ||