[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1306392606-5949-1-git-send-email-linux@roeck-us.net>
Date: Wed, 25 May 2011 23:50:06 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Samuel Ortiz <sameo@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH] mfd: (wl1273-core) Remove unused variable
This commit fixes the following build warning:
drivers/mfd/wl1273-core.c: In function wl1273_fm_set_volume:
drivers/mfd/wl1273-core.c:156: warning: unused variable var
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
drivers/mfd/wl1273-core.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c
index 04914f2..37af778 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)
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists