mfd: Fix wl1273 warning
authorWanlong Gao <wanlong.gao@gmail.com>
Sun, 10 Apr 2011 14:10:26 +0000 (22:10 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:20 +0000 (19:45 +0200)
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>
drivers/mfd/wl1273-core.c

index 63d250d9a366aeac9b94ee99bba6b6040f1916f8..d97a86945174519a6d333bf0527875b63537384d 100644 (file)
@@ -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)