alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: Drop unused "dapm" field form soc_enum struct
@ 2013-03-08 12:44 Lars-Peter Clausen
  2013-03-08 12:44 ` [PATCH 2/2] ASoC: Remove unused "n_widgets" field from snd_soc_dapm struct Lars-Peter Clausen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars-Peter Clausen @ 2013-03-08 12:44 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen

This field was added in commit 2e72f8e ("ASoC: New enum type: value_enum"), but
has never been used since. Considering that the soc_enum struct is usually
shared between all instances of a CODEC, it also doesn't make much sense to have
a pointer to DAPM specific data in it.

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

diff --git a/include/sound/soc.h b/include/sound/soc.h
index a6a059c..c84062b 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1086,7 +1086,6 @@ struct soc_enum {
 	unsigned int mask;
 	const char * const *texts;
 	const unsigned int *values;
-	void *dapm;
 };
 
 /* codec IO */
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-08 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 12:44 [PATCH 1/2] ASoC: Drop unused "dapm" field form soc_enum struct Lars-Peter Clausen
2013-03-08 12:44 ` [PATCH 2/2] ASoC: Remove unused "n_widgets" field from snd_soc_dapm struct Lars-Peter Clausen
2013-03-08 12:45   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).