Skip to content

Commit

Permalink
ASoC: Remove unused 'list' field form card
Browse files Browse the repository at this point in the history
The global card list was removed in commit b19e6e7 ("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>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed May 7, 2014
1 parent 24faf76 commit af0881f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit af0881f

Please sign in to comment.