drivers, mfd: Remove unused variable 'val'
PATCH 1/1 drivers, mfd: Remove unused variable 'val'
From: Liu Yuan <[email protected]>
--- drivers/mfd/wl1273-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/mfd/wl1273-core.c +0 -1
@@ -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
Hi, Samuel, is there another similar fix already pending? I notice the latest[ Linus tree[0ebc115da3ed6740, Fri Apr 15 20:31:15 2011 -0700] still has this redundant variable.
Thanks,
Yuan
Quoted 24 lines · Liu Yuan
From: Liu Yuan <[email protected]>
Signed-off-by Liu Yuan <[email protected]>---
drivers/mfd/wl1273-core.c | 1 -1 files changed, 0 insertions(+), 1 deletions(-)drivers/mfd/wl1273-core.c +0
-2@@ -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
Quoted 28 lines · Liu Yuan
Hi, Samuel, is there another similar fix already pending? I notice the latest[ Linus tree[0ebc115da3ed6740, Fri Apr 15 20:31:15 2011 -0700] still has this redundant variable.
Thanks,
YuanQuoted 20 lines · Liu Yuan
From: Liu Yuan <[email protected]>
Signed-off-by Liu Yuan <[email protected]>--- drivers/mfd/wl1273-core.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)drivers/mfd/wl1273-core.c +0
-1@@ -153,7 +153,6 @@ out:*/ static int wl1273_fm_set_volume (struct wl1273_core *core,unsigned int volume) { -u16 val;int r;
Quoted 1 line
Quoted 1 line
if (volume > WL1273_MAX_VOLUME)
Hi Liu Yuan:
It has already fixed in the Samuel's for-next branch. Cheers .
Quoted 10 lines
Quoted 4 lines
--
1.7.1--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/