From: Bo Shen Date: Mon, 10 Sep 2012 09:50:33 +0000 (+0800) Subject: ASoC: wm8904: remove redundant code X-Git-Tag: MMI-PSA29.97-13-9~15510^2~52^2~112 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a044b75779201b1eb293ffcb887404357b21421e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: wm8904: remove redundant code The core_intercon is added two times, remove the redundant one Signed-off-by: Bo Shen Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 0013afe48e66..2b9766d55384 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c @@ -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,