summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-05-06 09:39:38 +0200
committerMark Brown <broonie@linaro.org>2014-05-07 10:21:25 +0100
commitaf0881ffbd7bfc825c2871c79798d66e3608a50c (patch)
tree702699412ea4fbea750b75a6eb42c56bdb913906
parent24faf7656800afa0e0d882f950502c5c03f4b7f0 (diff)
downloadlinux-af0881ffbd7bfc825c2871c79798d66e3608a50c.tar.bz2
ASoC: Remove unused 'list' field form card
The global card list was removed in commit b19e6e7b7 ("ASoC: core: Use driver core probe deferral"). The 'list' field of the snd_soc_card struct has been unused since then. This patch removes the field. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--include/sound/soc.h1
-rw-r--r--sound/soc/soc-core.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 96d073fe7cd2..7287c6e0cf71 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -958,7 +958,6 @@ struct snd_soc_card {
struct snd_card *snd_card;
struct module *owner;
- struct list_head list;
struct mutex mutex;
struct mutex dapm_mutex;
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index ada7cbc9fb94..0a2c0720fc2d 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -3745,7 +3745,6 @@ int snd_soc_register_card(struct snd_soc_card *card)
for (i = 0; i < card->num_links; i++)
card->rtd[i].dai_link = &card->dai_link[i];
- INIT_LIST_HEAD(&card->list);
INIT_LIST_HEAD(&card->dapm_dirty);
card->instantiated = 0;
mutex_init(&card->mutex);