Re: [PATCH] power: supply: ab8500: remove unused static local variable

From: Linus Walleij
Date: Tue Jul 19 2022 - 03:57:52 EST


On Tue, Jul 19, 2022 at 4:27 AM Tom Rix <trix@xxxxxxxxxx> wrote:

> cpp_check reports
> [drivers/power/supply/ab8500_chargalg.c:493]: (style) Variable 'ab8500_chargalg_ex_ac_enable_toggle' is assigned a value that is never used.
>
> From inspection, this variable is never used. So remove it.
>
> Fixes: 6c50a08d9dd3 ("power: supply: ab8500: Drop external charger leftovers")
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Thanks Tom!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij