From: Lars-Peter Clausen Date: Sat, 31 Aug 2013 09:02:18 +0000 (+0200) Subject: ASoC: Remove unused debugfs_dapm field from snd_soc_{platform,codec} struct X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad758a67048f58205f2777b0f0a1a02de824d280;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: Remove unused debugfs_dapm field from snd_soc_{platform,codec} struct 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 Signed-off-by: Mark Brown --- diff --git a/include/sound/soc.h b/include/sound/soc.h index 254bcda40695..c65cc7d70353 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -719,7 +719,6 @@ struct snd_soc_codec { #ifdef CONFIG_DEBUG_FS struct dentry *debugfs_codec_root; struct dentry *debugfs_reg; - struct dentry *debugfs_dapm; #endif }; @@ -844,7 +843,6 @@ struct snd_soc_platform { #ifdef CONFIG_DEBUG_FS struct dentry *debugfs_platform_root; - struct dentry *debugfs_dapm; #endif };