ASoC: Remove unused 'list' field form card
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 6 May 2014 07:39:38 +0000 (09:39 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 7 May 2014 09:21:25 +0000 (10:21 +0100)
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>
include/sound/soc.h
sound/soc/soc-core.c

index 96d073fe7cd25269e018a4e70f66c16f912d092e..7287c6e0cf711f312d130cfca10edc26e0449dd0 100644 (file)
@@ -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;
 
index ada7cbc9fb945f77a3039f7b11511696c4e16ce6..0a2c0720fc2da6a349a8d9a16320d3f6498b2c3c 100644 (file)
@@ -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);