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:
50e5360
)
power: Remove unused local variables
author
Christopher N. Hesse
<raymanfx@gmail.com>
Mon, 16 Jan 2017 22:45:28 +0000
(23:45 +0100)
committer
Christopher N. Hesse
<raymanfx@gmail.com>
Mon, 30 Jan 2017 22:06:50 +0000
(22:06 +0000)
Change-Id: I8f45398eba884fee3c3833a67f37ffd28186cf24
power/power.c
patch
|
blob
|
blame
|
history
diff --git
a/power/power.c
b/power/power.c
index d7ea14c93f62e423d809602c2cb36367f47afabc..25aa3d6010156f50eb74645277f28679dfcffe7d 100644
(file)
--- a/
power/power.c
+++ b/
power/power.c
@@
-367,10
+367,6
@@
static void samsung_power_hint(struct power_module *module,
switch (hint) {
case POWER_HINT_INTERACTION: {
- char errno_str[64];
- ssize_t len;
- int fd;
-
if (current_power_profile == PROFILE_POWER_SAVE) {
return;
}
@@
-389,7
+385,6
@@
static void samsung_power_hint(struct power_module *module,
break;
}
case POWER_HINT_VSYNC: {
-
ALOGV("%s: POWER_HINT_VSYNC", __func__);
break;
}