summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSasha Levitskiy2014-04-11 19:02:33 -0500
committerAndroid Git Automerger2014-04-11 19:02:33 -0500
commite2acb82a9449d0bbf993cda270f3519862ec571a (patch)
tree363fff0183ffc1c252f381da52dab5e4ab57c3fd /libsuspend
parentc5543320b024596c86fcb7b05b0b0f9ff609a9d1 (diff)
parent43cb7ae6c31ced8cd518eab59dfea31ab1ade812 (diff)
downloadplatform-system-core-e2acb82a9449d0bbf993cda270f3519862ec571a.tar.gz
platform-system-core-e2acb82a9449d0bbf993cda270f3519862ec571a.tar.xz
platform-system-core-e2acb82a9449d0bbf993cda270f3519862ec571a.zip
am 43cb7ae6: am 4f362e43: am 835526fd: Merge "Cleanup: warning fixit."
* commit '43cb7ae6c31ced8cd518eab59dfea31ab1ade812': Cleanup: warning fixit.
Diffstat (limited to 'libsuspend')
-rw-r--r--libsuspend/autosuspend_earlysuspend.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libsuspend/autosuspend_earlysuspend.c b/libsuspend/autosuspend_earlysuspend.c
index 1df8c6a13..2bece4c3b 100644
--- a/libsuspend/autosuspend_earlysuspend.c
+++ b/libsuspend/autosuspend_earlysuspend.c
@@ -75,13 +75,8 @@ static int wait_for_fb_sleep(void)
75 return err < 0 ? err : 0; 75 return err < 0 ? err : 0;
76} 76}
77 77
78static void *earlysuspend_thread_func(void *arg) 78static void *earlysuspend_thread_func(void __unused *arg)
79{ 79{
80 char buf[80];
81 char wakeup_count[20];
82 int wakeup_count_len;
83 int ret;
84
85 while (1) { 80 while (1) {
86 if (wait_for_fb_sleep()) { 81 if (wait_for_fb_sleep()) {
87 ALOGE("Failed reading wait_for_fb_sleep, exiting earlysuspend thread\n"); 82 ALOGE("Failed reading wait_for_fb_sleep, exiting earlysuspend thread\n");