diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 1d6a9b3ceb27..625d4824abbb 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -3123,7 +3123,6 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, | |||
3123 | break; | 3123 | break; |
3124 | } | 3124 | } |
3125 | 3125 | ||
3126 | dapm->n_widgets++; | ||
3127 | w->dapm = dapm; | 3126 | w->dapm = dapm; |
3128 | w->codec = dapm->codec; | 3127 | w->codec = dapm->codec; |
3129 | w->platform = dapm->platform; | 3128 | w->platform = dapm->platform; |