[alsa-devel] [PATCH 2/3] ASoC: twl4030: Remove embedded snd_soc_codec structs from private data structs

Lars-Peter Clausen lars at metafoo.de
Tue Aug 6 13:39:30 CEST 2013


It is unused and a leftover of the pre multi-component era.

Cc: Peter Ujfalusi <peter.ujfalusi at ti.com>
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
 sound/soc/codecs/twl4030.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index 8e6e5b0..1e3884d 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -137,8 +137,6 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = {
 
 /* codec private data */
 struct twl4030_priv {
-	struct snd_soc_codec codec;
-
 	unsigned int codec_powered;
 
 	/* reference counts of AIF/APLL users */
-- 
1.8.0



More information about the Alsa-devel mailing list