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@xxxxxxxxxxxxxxxxx> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11532 > Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> > --- > 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@xxxxxxxxxx> -- With best wishes Dmitry