• Srinivas Kandagatla's avatar
    ASoC: msm8916-wcd-digital: remove few unused variables · fecd5c09
    Srinivas Kandagatla authored
    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: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    fecd5c09
msm8916-wcd-digital.c 31.7 KB