aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-04-10 22:10:26 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 19:45:20 +0200
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 63d250d9a36..d97a8694517 100644
--- a/drivers/mfd/wl1273-core.c
+++ b/drivers/mfd/wl1273-core.c
@@ -153,7 +153,6 @@ out:
*/
static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume)
{
- u16 val;
int r;
if (volume > WL1273_MAX_VOLUME)