2017-09-11 16:15:28

by Ryan Lee

[permalink] [raw]
Subject: [PATCH 3/3] ASoC: max98927: Removed obsolete variables

Signed-off-by: Ryan Lee <[email protected]>
---
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