Commit 5d76ca3b authored by Wanlong Gao's avatar Wanlong Gao Committed by Samuel Ortiz

mfd: Fix wl1273 warning

Remove the unused variable "u16 val" of wl1273-core.c.
Signed-off-by: default avatarWanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent bc86fcee
...@@ -153,7 +153,6 @@ static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode) ...@@ -153,7 +153,6 @@ static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode)
*/ */
static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume)
{ {
u16 val;
int r; int r;
if (volume > WL1273_MAX_VOLUME) if (volume > WL1273_MAX_VOLUME)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment