diff options
| -rw-r--r-- | include/sound/soc-dapm.h | 1 | ||||
| -rw-r--r-- | sound/soc/soc-dapm.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 89823cfe6f04..cc7104ab9660 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h | |||
| @@ -526,7 +526,6 @@ struct snd_soc_dapm_widget { | |||
| 526 | enum snd_soc_dapm_type id; | 526 | enum snd_soc_dapm_type id; |
| 527 | const char *name; /* widget name */ | 527 | const char *name; /* widget name */ |
| 528 | const char *sname; /* stream name */ | 528 | const char *sname; /* stream name */ |
| 529 | struct snd_soc_codec *codec; | ||
| 530 | struct list_head list; | 529 | struct list_head list; |
| 531 | struct snd_soc_dapm_context *dapm; | 530 | struct snd_soc_dapm_context *dapm; |
| 532 | 531 | ||
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index c5136bb1f982..f6ae254e33ef 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
| @@ -3130,8 +3130,6 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, | |||
| 3130 | } | 3130 | } |
| 3131 | 3131 | ||
| 3132 | w->dapm = dapm; | 3132 | w->dapm = dapm; |
| 3133 | if (dapm->component) | ||
| 3134 | w->codec = dapm->component->codec; | ||
| 3135 | INIT_LIST_HEAD(&w->sources); | 3133 | INIT_LIST_HEAD(&w->sources); |
| 3136 | INIT_LIST_HEAD(&w->sinks); | 3134 | INIT_LIST_HEAD(&w->sinks); |
| 3137 | INIT_LIST_HEAD(&w->list); | 3135 | INIT_LIST_HEAD(&w->list); |
