[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <160530044928.3428466.4619952889415621763@swboyd.mtv.corp.google.com>
Date: Fri, 13 Nov 2020 12:47:29 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: linuxarm@...wei.com, mauro.chehab@...wei.com,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
John Stultz <john.stultz@...aro.org>,
Manivannan Sadhasivam <mani@...nel.org>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] spmi: get rid of a warning when built with W=1
Quoting Mauro Carvalho Chehab (2020-09-28 23:22:12)
> The SPMI core complaing with this warning when built with W=1:
>
> drivers/spmi/spmi.c: In function ‘spmi_controller_remove’:
> drivers/spmi/spmi.c:548:6: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
> 548 | int dummy;
> | ^~~~~
>
> As the dummy var isn't needed, remove it.
>
> Reviewed-by: Stephen Boyd <sboyd@...nel.org>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
> ---
Applied. Thanks!
Powered by blists - more mailing lists