Skip to content

Commit c59db5e

Browse files
morimotobroonie
authored andcommitted
ASoC: remove rtd->num
No one is using rtd->num. Let's remove it. Signed-off-by: Kuninori Morimoto <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 742e622 commit c59db5e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

include/sound/soc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,6 @@ struct snd_soc_pcm_runtime {
11951195
struct dentry *debugfs_dpcm_root;
11961196
#endif
11971197

1198-
unsigned int num; /* REMOVE ME */
11991198
unsigned int id; /* 0-based and monotonic increasing */
12001199
struct list_head list; /* rtd list of the soc card */
12011200

sound/soc/soc-core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,6 @@ static struct snd_soc_pcm_runtime *soc_new_pcm_runtime(
559559
rtd->card = card;
560560
rtd->dai_link = dai_link;
561561
rtd->id = card->num_rtd++;
562-
rtd->num = rtd->id; /* REMOVE ME */
563562
rtd->pmdown_time = pmdown_time; /* default power off timeout */
564563

565564
/* see for_each_card_rtds */

0 commit comments

Comments
 (0)