diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-15 05:15:34 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-15 10:05:55 -0400 |
commit | ab0ac2707784a966927c229752849c343bd1dbbf (patch) | |
tree | 0bb3a44faae0912d0840d304442ff2e9d537405a /sound | |
parent | 5b366753c1c12feead0ae53b45482f569ed5399c (diff) |
ASoC: tlv320aic23: remove unused variable 'tlv320aic23_rec_src'
sound/soc/codecs/tlv320aic23.c:70:29: warning:
tlv320aic23_rec_src defined but not used [-Wunused-const-variable=]
It is never used, so can be removed.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190815091534.57780-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tlv320aic23.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c index 080a840c987a..f8e2f4b74db3 100644 --- a/sound/soc/codecs/tlv320aic23.c +++ b/sound/soc/codecs/tlv320aic23.c | |||
@@ -67,8 +67,6 @@ static SOC_ENUM_SINGLE_DECL(rec_src_enum, | |||
67 | static const struct snd_kcontrol_new tlv320aic23_rec_src_mux_controls = | 67 | static const struct snd_kcontrol_new tlv320aic23_rec_src_mux_controls = |
68 | SOC_DAPM_ENUM("Input Select", rec_src_enum); | 68 | SOC_DAPM_ENUM("Input Select", rec_src_enum); |
69 | 69 | ||
70 | static SOC_ENUM_SINGLE_DECL(tlv320aic23_rec_src, | ||
71 | TLV320AIC23_ANLG, 2, rec_src_text); | ||
72 | static SOC_ENUM_SINGLE_DECL(tlv320aic23_deemph, | 70 | static SOC_ENUM_SINGLE_DECL(tlv320aic23_deemph, |
73 | TLV320AIC23_DIGT, 1, deemph_text); | 71 | TLV320AIC23_DIGT, 1, deemph_text); |
74 | 72 | ||