Skip to content
Commit 189a2aae authored by Tom Rix's avatar Tom Rix Committed by Sebastian Reichel
Browse files

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: 6c50a08d ("power: supply: ab8500: Drop external charger leftovers")
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarChen Lifu <chenlifu@huawei.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 5738d49f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment