ASoC: msm8916-wcd-digital: remove few unused variables
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 14 Jan 2019 14:36:40 +0000 (14:36 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jan 2019 22:15:46 +0000 (22:15 +0000)
commitfecd5c09ddf8711c0b17087cc7a40ac57680f8ed
treefdfc23ff6c9dfd09c460d9bc450dd7aa2db56324
parent3e8c45f57a90585cfc0b07ae81de8960a8366c1c
ASoC: msm8916-wcd-digital: remove few unused variables

This patch removes unused variables which also fixes below warnings:

msm8916-wcd-digital.c:245:30: warning: 'rx2_mix2_inp1_chain_enum'
defined but not used [-Wunused-const-variable=]
static const struct soc_enum rx2_mix2_inp1_chain_enum = SOC_ENUM_SINGLE(
                              ^~~~~~~~~~~~~~~~~~~~~~~~
msm8916-wcd-digital.c:234:30: warning: 'rx_mix2_inp1_chain_enum'
defined but not used [-Wunused-const-variable=]
 static const struct soc_enum rx_mix2_inp1_chain_enum = SOC_ENUM_SINGLE(
                              ^~~~~~~~~~~~~~~~~~~~~~~
msm8916-wcd-digital.c:224:26: warning: 'adc2_mux_text'
defined but not used [-Wunused-const-variable=]
 static const char *const adc2_mux_text[] = { "ZERO", "INP2", "INP3" };
                          ^~~~~~~~~~~~~
msm8916-wcd-digital.c:223:26: warning: 'rx_mix2_text'
defined but not used [-Wunused-const-variable=]

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/msm8916-wcd-digital.c