aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sound/soc-dapm.h1
-rw-r--r--sound/soc/soc-dapm.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index e1ef63d4a5c4..d4c004929ae5 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -565,7 +565,6 @@ struct snd_soc_dapm_update {
565 565
566/* DAPM context */ 566/* DAPM context */
567struct snd_soc_dapm_context { 567struct snd_soc_dapm_context {
568 int n_widgets; /* number of widgets in this context */
569 enum snd_soc_bias_level bias_level; 568 enum snd_soc_bias_level bias_level;
570 enum snd_soc_bias_level suspend_bias_level; 569 enum snd_soc_bias_level suspend_bias_level;
571 struct delayed_work delayed_work; 570 struct delayed_work delayed_work;
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;