Re: [PATCH] drivers, mfd: Remove unused variable 'val'

From: Liu Yuan
Date: Sat Apr 16 2011 - 05:46:54 EST


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

On Sat, Apr 2, 2011 at 2:41 PM, Liu Yuan <namei.unix@xxxxxxxxx> wrote:
> From: Liu Yuan <tailai.ly@xxxxxxxxxx>
>
>
> Signed-off-by: Liu Yuan <tailai.ly@xxxxxxxxxx>
> ---
> Â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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/