From 0de98c9970922ba9c529b4b68816936c8d0501de Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sat, 22 Dec 2012 10:38:14 -0200 Subject: [PATCH] --- yaml --- r: 348754 b: refs/heads/master c: 5db1bc1892aa70d378ea7563852ae87f3772519b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/soc-core.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ccfccbef765a..855217f2a43f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9bde4f0b1c83d1129a9fc8ec5b2611ba6dab1215 +refs/heads/master: 5db1bc1892aa70d378ea7563852ae87f3772519b diff --git a/trunk/sound/soc/soc-core.c b/trunk/sound/soc/soc-core.c index e0d4630bfb4f..29046e750ad7 100644 --- a/trunk/sound/soc/soc-core.c +++ b/trunk/sound/soc/soc-core.c @@ -2996,7 +2996,6 @@ int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, int max = mc->max; unsigned int mask = (1 << fls(max)) - 1; unsigned int invert = mc->invert; - int ret; ucontrol->value.integer.value[0] = (snd_soc_read(codec, reg) >> shift) & mask;