mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 02:06:15 +01:00
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:
parent
742e622db6
commit
c59db5ed23
2 changed files with 0 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue