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;
|
struct delayed_work delayed_work;
|
||||||
#ifdef CONFIG_DEBUG_FS
|
#ifdef CONFIG_DEBUG_FS
|
||||||
struct dentry *debugfs_dpcm_root;
|
struct dentry *debugfs_dpcm_root;
|
||||||
struct dentry *debugfs_dpcm_state;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
unsigned int num; /* 0-based and monotonic increasing */
|
unsigned int num; /* 0-based and monotonic increasing */
|
||||||
|
|
|
@ -3010,8 +3010,7 @@ void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtd->debugfs_dpcm_state = debugfs_create_file("state", 0444,
|
debugfs_create_file("state", 0444, rtd->debugfs_dpcm_root,
|
||||||
rtd->debugfs_dpcm_root,
|
rtd, &dpcm_state_fops);
|
||||||
rtd, &dpcm_state_fops);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue