[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <xydlb2gwgkudbgg2q3i3g23lphrh4sj272z6lbthr4vhyaiju6@txxjgof7iz5m>
Date: Tue, 29 Oct 2024 16:34:53 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: loic.poulain@...aro.org, rfoss@...nel.org, andi.shyti@...nel.org,
linux-i2c@...r.kernel.org, linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH v2 -next] i2c: qcom-cci: Remove the unused variable
cci_clk_rate
On Tue, Oct 29, 2024 at 10:09:31AM +0800, Jiapeng Chong wrote:
> Variable ret is not effectively used, so delete it.
>
> drivers/i2c/busses/i2c-qcom-cci.c:526:16: warning: variable ‘cci_clk_rate’ set but not used.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11532
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> ---
> Changes in v2:
> -Remove redundant code.
>
> drivers/i2c/busses/i2c-qcom-cci.c | 9 ---------
> 1 file changed, 9 deletions(-)
Fixes: 823dfb7bdb21 ("i2c: qcom-cci: Stop complaining about DT set clock rate")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
--
With best wishes
Dmitry
Powered by blists - more mailing lists