aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-04-10 10:10:26 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 13:45:20 -0400
commit5d76ca3baaf5504779a59b2ad73b609b92e7e8dc (patch)
treeff0cde5f2625a7cd2fafbfc783702d794cb12955 /drivers/mfd
parentbc86fcee373f27bffc9ed0c0a734e40ec084aef5 (diff)
mfd: Fix wl1273 warning
Remove the unused variable "u16 val" of wl1273-core.c. Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/wl1273-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c
index 63d250d9a366..d97a86945174 100644
--- a/drivers/mfd/wl1273-core.c
+++ b/drivers/mfd/wl1273-core.c
@@ -153,7 +153,6 @@ out:
153 */ 153 */
154static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) 154static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume)
155{ 155{
156 u16 val;
157 int r; 156 int r;
158 157
159 if (volume > WL1273_MAX_VOLUME) 158 if (volume > WL1273_MAX_VOLUME)