[alsa-devel] [PATCH 3/3] ASoC: max98927: Removed obsolete variables

Ryan Lee ryans.lee at maximintegrated.com
Fri Sep 1 23:35:08 CEST 2017


Signed-off-by: Ryan Lee <ryans.lee at maximintegrated.com>
---
Changelog:
	Removed obsolete variables that have never been referred from driver before.

 sound/soc/codecs/max98927.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h
index 98b5f17..d215f60 100644
--- a/sound/soc/codecs/max98927.h
+++ b/sound/soc/codecs/max98927.h
@@ -263,17 +263,13 @@
 struct max98927_priv {
 	struct regmap *regmap;
 	struct snd_soc_codec *codec;
-	struct max98927_pdata *pdata;
-	unsigned int spk_gain;
 	unsigned int sysclk;
 	unsigned int v_l_slot;
 	unsigned int i_l_slot;
 	bool interleave_mode;
 	unsigned int ch_size;
-	unsigned int rate;
 	unsigned int iface;
 	unsigned int master;
-	unsigned int digital_gain;
 	bool tdm_mode;
 };
 #endif
-- 
1.9.1



More information about the Alsa-devel mailing list