power: supply: ab8500: remove unused static local variable
authorTom Rix <trix@redhat.com>
Tue, 19 Jul 2022 02:27:43 +0000 (22:27 -0400)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 5 Oct 2022 21:47:04 +0000 (23:47 +0200)
commit189a2aaef9cbee4cd7c3d1bd142f790cc14c598e
treef1758fb2a3404d47cf5dd971a7895bb747acf956
parent5738d49fa47e0046050f5e62e4921d667b7ee3c3
power: supply: ab8500: remove unused static local variable

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@redhat.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Chen Lifu <chenlifu@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_chargalg.c