summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorWanlong Gao2011-04-10 16:10:26 +0200
committerSamuel Ortiz2011-05-26 19:45:20 +0200
commit5d76ca3baaf5504779a59b2ad73b609b92e7e8dc (patch)
treeff0cde5f2625a7cd2fafbfc783702d794cb12955 /drivers/mfd
parentmfd: Continue with IRQ setup even if we don't have PMIC main IRQ (diff)
downloadkernel-qcow2-linux-5d76ca3baaf5504779a59b2ad73b609b92e7e8dc.tar.gz
kernel-qcow2-linux-5d76ca3baaf5504779a59b2ad73b609b92e7e8dc.tar.xz
kernel-qcow2-linux-5d76ca3baaf5504779a59b2ad73b609b92e7e8dc.zip
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:
*/
static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume)
{
- u16 val;
int r;
if (volume > WL1273_MAX_VOLUME)