diff options
-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 e0d4630bfb4f..29046e750ad7 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -2996,7 +2996,6 @@ int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, | |||
2996 | int max = mc->max; | 2996 | int max = mc->max; |
2997 | unsigned int mask = (1 << fls(max)) - 1; | 2997 | unsigned int mask = (1 << fls(max)) - 1; |
2998 | unsigned int invert = mc->invert; | 2998 | unsigned int invert = mc->invert; |
2999 | int ret; | ||
3000 | 2999 | ||
3001 | ucontrol->value.integer.value[0] = | 3000 | ucontrol->value.integer.value[0] = |
3002 | (snd_soc_read(codec, reg) >> shift) & mask; | 3001 | (snd_soc_read(codec, reg) >> shift) & mask; |