[alsa-devel] [PATCH 2/3] ASoC: Remove unused debugfs_dapm field from snd_soc_{platform, codec} struct

Lars-Peter Clausen lars at metafoo.de
Sat Aug 31 11:02:18 CEST 2013


The DAPM context struct has its own field where it stores the pointer to the
DAPM debugfs entry. The debugfs_dapm field in the snd_soc_platform and
snd_soc_codec structs are completely unused and can be removed.

Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
 include/sound/soc.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/sound/soc.h b/include/sound/soc.h
index 9d4c2ab..79b305d 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -723,7 +723,6 @@ struct snd_soc_codec {
 #ifdef CONFIG_DEBUG_FS
 	struct dentry *debugfs_codec_root;
 	struct dentry *debugfs_reg;
-	struct dentry *debugfs_dapm;
 #endif
 };
 
@@ -848,7 +847,6 @@ struct snd_soc_platform {
 
 #ifdef CONFIG_DEBUG_FS
 	struct dentry *debugfs_platform_root;
-	struct dentry *debugfs_dapm;
 #endif
 };
 
-- 
1.8.0



More information about the Alsa-devel mailing list