lkml.org 
[lkml]   [2020]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: tqmx86: remove set but not used variable 'i2c_ien'
On Fri, 03 Jan 2020, yu kuai wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/mfd/tqmx86.c: In function ‘tqmx86_probe’:
> drivers/mfd/tqmx86.c:161:29: warning: variable ‘i2c_ien’
> set but not used I[-Wunused-but-set-variable]
>
> It is never used, and so can be removed.
>
> Signed-off-by: yu kuai <yukuai3@huawei.com>
> ---
> drivers/mfd/tqmx86.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

\
 
 \ /
  Last update: 2020-01-07 15:21    [W:0.375 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site