Skip to contentSkip to conversation

mfd: (wl1273-core) Remove unused variable

PATCH New Guenter Roeck 1 participant 1 message May 26, 2011 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 drivers/mfd/wl1273-core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/mfd/wl1273-core.c +0 -1
index 04914f2..37af778 100644
@@ -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)
Signature · 1 line
1.7.1