From: Fabio Estevam Date: Thu, 26 Apr 2012 04:51:59 +0000 (-0300) Subject: ASoC: core: Remove unused variable 'min' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f20c2cb9995eb8c5cd7084e11af7b54522ef0ab9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: core: Remove unused variable 'min' commit 4183eed2 (ASoC: core: Add signed multi register control) introduced the variable 'min',but it is not used. Remove it to fix the following build warning: sound/soc/soc-core.c: In function 'snd_soc_put_xr_sx': sound/soc/soc-core.c:2990: warning: unused variable 'min' Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 666b81b400c2..de97bf586c6b 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;