diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 666b81b400c26aeb0c7a5f5849151abb2f411d4c..de97bf586c6bec7c16412b733066a5403a7e4dd0 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -2987,7 +2987,6 @@ int snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol, unsigned int regwmask = (1<invert; unsigned long mask = (1UL<nbits)-1; - long min = mc->min; long max = mc->max; long val = ucontrol->value.integer.value[0]; unsigned int i, regval, regmask;