Skip to content

Commit

Permalink
ASoC: Remove unused 'r' variable from dapm_connect_dai_link_widgets()
Browse files Browse the repository at this point in the history
It was accidentally added in commit 44ba264 ("ASoC: dapm: Add support for DAI
multicodec").

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Jul 17, 2014
1 parent 93e6958 commit 3d9501a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 3d9501a

Please sign in to comment.