summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorFabio Estevam2012-04-26 06:51:59 +0200
committerMark Brown2012-04-26 11:29:13 +0200
commitf20c2cb9995eb8c5cd7084e11af7b54522ef0ab9 (patch)
tree24d0b66869a3c623441d12ac1a914779e3e2275c /sound/soc/soc-core.c
parentASoC: SSM2602: Convert to direct regmap API usage (diff)
downloadkernel-qcow2-linux-f20c2cb9995eb8c5cd7084e11af7b54522ef0ab9.tar.gz
kernel-qcow2-linux-f20c2cb9995eb8c5cd7084e11af7b54522ef0ab9.tar.xz
kernel-qcow2-linux-f20c2cb9995eb8c5cd7084e11af7b54522ef0ab9.zip
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>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c1
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,
unsigned int regwmask = (1<<regwshift)-1;
unsigned int invert = mc->invert;
unsigned long mask = (1UL<<mc->nbits)-1;
- long min = mc->min;
long max = mc->max;
long val = ucontrol->value.integer.value[0];
unsigned int i, regval, regmask;