diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-03-08 07:44:27 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-08 07:45:10 -0500 |
commit | a93f8e76a446e0a146a169cc2cc82bf1e145ad35 (patch) | |
tree | 279aa9708b4a5775e1e7f54e33d9afc3ca1dc8e9 /include/sound | |
parent | e383c467ceeee3b040444d6dcd27f331d72b1426 (diff) |
ASoC: core: Remove unused "n_widgets" field from snd_soc_dapm struct
Commit 497098be ("ASoC: dapm: Remove bodges for no-widget CODECs") removed the
last user of the n_widgets field. Currently it is incremented for each widget
added, but the value is never used, so we can remove it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 1 |
1 files changed, 0 insertions, 1 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 */ |
567 | struct snd_soc_dapm_context { | 567 | struct 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; |