Unverified Commit c59db5ed authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: remove rtd->num

parent 742e622d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 */

+0 −1
Original line number Diff line number Diff line
@@ -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 */