projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37aedd
)
power: Remove unused variables
author
Christopher N. Hesse
<raymanfx@gmail.com>
Wed, 5 Apr 2017 16:54:03 +0000
(18:54 +0200)
committer
Christopher N. Hesse
<raymanfx@gmail.com>
Wed, 5 Apr 2017 16:58:09 +0000
(18:58 +0200)
Change-Id: I805a12837bd013e71c098479279dcc5895ea1e1d
power/power.c
patch
|
blob
|
blame
|
history
diff --git
a/power/power.c
b/power/power.c
index 6168ea06994a205d5499ca20b05068a50024f169..5489400ad9068fd563995a103abdc3818f4c9024 100644
(file)
--- a/
power/power.c
+++ b/
power/power.c
@@
-329,7
+329,6
@@
static void init_cpufreqs(struct samsung_power_module *samsung_pwr)
static void init_touch_input_power_path(struct samsung_power_module *samsung_pwr)
{
char dir[1024];
- char errno_str[64];
uint32_t i;
for (i = 0; i < 20; i++) {
@@
-422,7
+421,6
@@
static void samsung_power_hint(struct power_module *module,
void *data)
{
struct samsung_power_module *samsung_pwr = (struct samsung_power_module *) module;
- char errno_str[64];
int len;
/* Bail out if low-power mode is active */