power: supply: ab8500: remove set but not used variables 'vbup33_vrtcn' and 'bup_vch_...
authorYueHaibing <yuehaibing@huawei.com>
Wed, 17 Jul 2019 14:18:48 +0000 (22:18 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 2 Sep 2019 19:04:50 +0000 (21:04 +0200)
commit9eab9a5b4c53df850c5a7f4f48b783fac3bbffe8
treed78c4c3cb4bac3a4c65b43371539df79b0d64197
parent40badfa396093fe85d83a5a57711b4830e85a9e0
power: supply: ab8500: remove set but not used variables 'vbup33_vrtcn' and 'bup_vch_range'

Fixes gcc '-Wunused-but-set-variable' warnings:

drivers/power/supply/ab8500_charger.c:
 In function ab8500_charger_init_hw_registers:
drivers/power/supply/ab8500_charger.c:3013:24: warning:
 variable vbup33_vrtcn set but not used [-Wunused-but-set-variable]
drivers/power/supply/ab8500_charger.c:3013:5: warning:
 variable bup_vch_range set but not used [-Wunused-but-set-variable]

Fixes: 4c4268dc97c4 ("power: supply: ab8500: Drop AB8540/9540 support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_charger.c