Skip to content

Commit

Permalink
ASoC: Remove unused debugfs_dapm field from snd_soc_{platform,codec} …
Browse files Browse the repository at this point in the history
…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 <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Aug 31, 2013
1 parent 43d92e7 commit ad758a6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down Expand Up @@ -844,7 +843,6 @@ struct snd_soc_platform {

#ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_platform_root;
struct dentry *debugfs_dapm;
#endif
};

Expand Down

0 comments on commit ad758a6

Please sign in to comment.