Re: [PATCH] power: supply: ab8500: remove unused static local variable
From: Miles Chen
Date: Fri Aug 12 2022 - 03:53:32 EST
>> 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
Hi Sebastian,
It looks like that this patch is not in linux-next 20220812
and I can still observe this build error with ARCH=arm, defconfig=allyesconfig.
Would you pick up this fix, please?
Thanks,
Miles