summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt1015.h
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2020-12-24 18:06:07 +0800
committerMark Brown <broonie@kernel.org>2020-12-29 13:18:48 +0000
commita5db2ca51367eeafb0c4013d3a6fc58932612c03 (patch)
tree63778e1c5cfa2cfaa0cf2e8690c2a7d4b6fe856f /sound/soc/codecs/rt1015.h
parent3128f1c3b53d73e35e1069663736284358fcdd01 (diff)
ASoC: rt1015: remove unneeded variables in rt1015_priv
- `lrck' is only used in .hw_params callback so that it can be local. - `bclk' is unused. - `id' is unused. - `amp_ver' is unused. Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Link: https://lore.kernel.org/r/20201224100607.3006171-6-tzungbi@google.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1015.h')
-rw-r--r--sound/soc/codecs/rt1015.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/rt1015.h b/sound/soc/codecs/rt1015.h
index b6ea753014e1..e9b498a754e0 100644
--- a/sound/soc/codecs/rt1015.h
+++ b/sound/soc/codecs/rt1015.h
@@ -427,16 +427,12 @@ struct rt1015_priv {
struct regmap *regmap;
int sysclk;
int sysclk_src;
- int lrck;
- int bclk;
int bclk_ratio;
- int id;
int pll_src;
int pll_in;
int pll_out;
int boost_mode;
int bypass_boost;
- int amp_ver;
int dac_is_used;
int cali_done;
int hw_config;