summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2024-10-24 01:29:45 +0000
committerMark Brown <broonie@kernel.org>2024-11-01 14:48:14 +0000
commitc59db5ed233a19f6aadd086fb89149ec5f6fa855 (patch)
tree0aa6ed6cf8428ba31cab1a644ac119a8cb529448
parent742e622db67efc32affb5893fdcc0149f374533e (diff)
ASoC: remove rtd->num
No one is using rtd->num. Let's remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87sesmb852.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.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 51840ceb3cd4..21a50a8057eb 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1195,7 +1195,6 @@ struct snd_soc_pcm_runtime {
struct dentry *debugfs_dpcm_root;
#endif
- unsigned int num; /* REMOVE ME */
unsigned int id; /* 0-based and monotonic increasing */
struct list_head list; /* rtd list of the soc card */
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 3cb748279166..233c91e60f0c 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -559,7 +559,6 @@ static struct snd_soc_pcm_runtime *soc_new_pcm_runtime(
rtd->card = card;
rtd->dai_link = dai_link;
rtd->id = card->num_rtd++;
- rtd->num = rtd->id; /* REMOVE ME */
rtd->pmdown_time = pmdown_time; /* default power off timeout */
/* see for_each_card_rtds */