summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSasha Levitskiy2014-04-11 19:00:02 -0500
committerAndroid Git Automerger2014-04-11 19:00:02 -0500
commit43cb7ae6c31ced8cd518eab59dfea31ab1ade812 (patch)
tree22f8c327a48e787108fbd09969ef515750fb6013 /libsuspend
parent7acecec433b396405279c3fa35359636dbcc7d47 (diff)
parent4f362e438c6ee5688c4f2f444203ed7acffa566b (diff)
downloadplatform-system-core-43cb7ae6c31ced8cd518eab59dfea31ab1ade812.tar.gz
platform-system-core-43cb7ae6c31ced8cd518eab59dfea31ab1ade812.tar.xz
platform-system-core-43cb7ae6c31ced8cd518eab59dfea31ab1ade812.zip
am 4f362e43: am 835526fd: Merge "Cleanup: warning fixit."
* commit '4f362e438c6ee5688c4f2f444203ed7acffa566b': 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");