ASoC: wm8904: remove redundant code
authorBo Shen <voice.shen@atmel.com>
Mon, 10 Sep 2012 09:50:33 +0000 (17:50 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Sep 2012 10:07:20 +0000 (18:07 +0800)
The core_intercon is added two times, remove the redundant one

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8904.c

index 0013afe..2b9766d 100644 (file)
@@ -1185,8 +1185,6 @@ static int wm8904_add_widgets(struct snd_soc_codec *codec)
                snd_soc_dapm_new_controls(dapm, wm8904_dapm_widgets,
                                          ARRAY_SIZE(wm8904_dapm_widgets));
 
-               snd_soc_dapm_add_routes(dapm, core_intercon,
-                                       ARRAY_SIZE(core_intercon));
                snd_soc_dapm_add_routes(dapm, adc_intercon,
                                        ARRAY_SIZE(adc_intercon));
                snd_soc_dapm_add_routes(dapm, dac_intercon,