diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-04-26 00:51:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-26 05:29:13 -0400 |
commit | f20c2cb9995eb8c5cd7084e11af7b54522ef0ab9 (patch) | |
tree | 24d0b66869a3c623441d12ac1a914779e3e2275c | |
parent | bec3d9a97324a9ef84cc1dfcb918432a86c58894 (diff) |
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 <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/soc-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
2987 | unsigned int regwmask = (1<<regwshift)-1; | 2987 | unsigned int regwmask = (1<<regwshift)-1; |
2988 | unsigned int invert = mc->invert; | 2988 | unsigned int invert = mc->invert; |
2989 | unsigned long mask = (1UL<<mc->nbits)-1; | 2989 | unsigned long mask = (1UL<<mc->nbits)-1; |
2990 | long min = mc->min; | ||
2991 | long max = mc->max; | 2990 | long max = mc->max; |
2992 | long val = ucontrol->value.integer.value[0]; | 2991 | long val = ucontrol->value.integer.value[0]; |
2993 | unsigned int i, regval, regmask; | 2992 | unsigned int i, regval, regmask; |