projects
/
platform
/
hal
/
api
/
power.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631d427
)
hal-api-power: Remove unreachable code
11/317711/1
author
Unsung Lee
<unsung.lee@samsung.com>
Tue, 7 Jan 2025 02:48:41 +0000
(11:48 +0900)
committer
Unsung Lee
<unsung.lee@samsung.com>
Tue, 7 Jan 2025 02:48:46 +0000
(11:48 +0900)
Remove unreachable a branch tag and error handler code.
Change-Id: I8312509c7ac4689bbd69ed707a1ff8525c5b5c91
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/hal-api-power.c
patch
|
blob
|
history
diff --git
a/src/hal-api-power.c
b/src/hal-api-power.c
index 68b52343d304591b4e276b0acf117174b681107e..56183ff9331f37bb9f67e775bad02011ea740217 100644
(file)
--- a/
src/hal-api-power.c
+++ b/
src/hal-api-power.c
@@
-219,8
+219,6
@@
static int init_backend(void **data, void *user_data)
return 0;
-err_battery:
- free(power_funcs->battery);
err_memory:
free(power_funcs->memory);
err_gpu: