battery: remove unreachable code 46/276446/8
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 17 Jun 2022 00:12:24 +0000 (09:12 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 12 Jul 2022 05:34:37 +0000 (14:34 +0900)
commitedbec70fd91d06c4f506d6bb83bd48361212d0ea
tree313bb0cbc2799bbd65af584de12f3d47d634362f
parentc7edc7c1ba83a25a5f019c8768a80116c04bdb24
battery: remove unreachable code

The fallback for not existing battery hal is technically useless. It
is because if there is no battery backend, the battery module itself
won't be work properly as it cannot know about target dependent
properties.

Change-Id: Iaea07a1ecd47fdf14b13ca9e07d42a28c07357a0
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/battery/battery-time.c
src/battery/lowbat-handler.c
src/battery/power-supply.c