mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
ASoC: soc-pcm: Remove unused 'debugfs_dpcm_state' entry
'debugfs_dpcm_state' member from structure snd_soc_pcm_runtime is never used at all, so it is safe to remove it. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
5771a8c088
commit
f1e3f409d6
@ -1240,7 +1240,6 @@ struct snd_soc_pcm_runtime {
|
||||
struct delayed_work delayed_work;
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
struct dentry *debugfs_dpcm_root;
|
||||
struct dentry *debugfs_dpcm_state;
|
||||
#endif
|
||||
|
||||
unsigned int num; /* 0-based and monotonic increasing */
|
||||
|
@ -3010,8 +3010,7 @@ void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd)
|
||||
return;
|
||||
}
|
||||
|
||||
rtd->debugfs_dpcm_state = debugfs_create_file("state", 0444,
|
||||
rtd->debugfs_dpcm_root,
|
||||
rtd, &dpcm_state_fops);
|
||||
debugfs_create_file("state", 0444, rtd->debugfs_dpcm_root,
|
||||
rtd, &dpcm_state_fops);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user