Re: drivers/power/supply/z2_battery.c:93:26: warning: variable 'info' set but not used

2021-03-09 Thread Linus Walleij
Hi Robot, On Thu, Mar 4, 2021 at 1:54 PM kernel test robot wrote: > FYI, the error/warning still remains. FYI I have sent a patch for this ;) https://lore.kernel.org/linux-pm/20210305100108.2036203-1-linus.wall...@linaro.org/ Yours, Linus Walleij

drivers/power/supply/z2_battery.c:93:26: warning: variable 'info' set but not used

2021-03-04 Thread kernel test robot
>>): drivers/power/supply/z2_battery.c: In function 'z2_batt_update': >> drivers/power/supply/z2_battery.c:93:26: warning: variable 'info' set but >> not used [-Wunused-but-set-variable] 93 | struct z2_battery_info *info; | ^~~~

drivers/power/supply/z2_battery.c:93:26: warning: variable 'info' set but not used

2021-03-03 Thread kernel test robot
nction 'z2_batt_update': >> drivers/power/supply/z2_battery.c:93:26: warning: variable 'info' set but >> not used [-Wunused-but-set-variable] 93 | struct z2_battery_info *info; | ^~~~ vim +/info +93 drivers/power/supply/z2_b