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>
This commit is contained in:
Kuninori Morimoto 2024-10-24 01:29:45 +00:00 committed by Mark Brown
parent 742e622db6
commit c59db5ed23
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
2 changed files with 0 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */