From: Lars-Peter Clausen <lars@metafoo.de>
To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>
Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>,
Bo Shen <voice.shen@atmel.com>
Subject: [PATCH 2/5] ASoC: Remove unused 'list' field form card
Date: Tue, 6 May 2014 09:39:38 +0200 [thread overview]
Message-ID: <1399361981-18518-3-git-send-email-lars@metafoo.de> (raw)
In-Reply-To: <1399361981-18518-1-git-send-email-lars@metafoo.de>
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>
---
include/sound/soc.h | 1 -
sound/soc/soc-core.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 30c068f..5603020 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -949,7 +949,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 24c1fc2..cc62526 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -3733,7 +3733,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);
--
1.8.0
next prev parent reply other threads:[~2014-05-06 7:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 7:39 [PATCH 0/5] ASoC: Trivial bits and cleanups Lars-Peter Clausen
2014-05-06 7:39 ` [PATCH 1/5] ASoC: Remove card's DAI list Lars-Peter Clausen
2014-05-07 9:21 ` Mark Brown
2014-05-06 7:39 ` Lars-Peter Clausen [this message]
2014-05-07 9:21 ` [PATCH 2/5] ASoC: Remove unused 'list' field form card Mark Brown
2014-05-06 7:39 ` [PATCH 3/5] ASoC: Remove unused num_dai field from CODEC Lars-Peter Clausen
2014-05-07 9:22 ` Mark Brown
2014-05-06 7:39 ` [PATCH 4/5] ASoC: atmel-pcm-pdc: Remove broken suspend/resume code Lars-Peter Clausen
2014-05-12 21:08 ` Mark Brown
2014-05-06 7:39 ` [PATCH 5/5] ASoC: Remove runtime field from DAI Lars-Peter Clausen
2014-05-12 21:08 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1399361981-18518-3-git-send-email-lars@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=voice.shen@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox