Re: drivers/power/supply/ab8500_fg.c:2243:75: warning: variable 'b' set but not used

From: Linus Walleij
Date: Fri Jan 28 2022 - 19:56:23 EST


On Fri, Jan 28, 2022 at 3:36 AM kernel test robot <lkp@xxxxxxxxx> wrote:

> FYI, the error/warning still remains.
(...)
> drivers/power/supply/ab8500_fg.c: In function 'ab8500_fg_get_ext_psy_data':
> >> drivers/power/supply/ab8500_fg.c:2243:75: warning: variable 'b' set but not used [-Wunused-but-set-variable]
> 2243 | const struct ab8500_battery_type *b;

This is being addressed in a series I am working on (gets deleted) and this
is not urgent to fix.

Yours.
Linus Walleij