commit | cdc1cfb3e51f3caddc1f290b46dc789c036f22ed | [log] [tgz] |
---|---|---|
author | Sasha Levitskiy <sanek@google.com> | Thu Apr 10 17:10:21 2014 -0700 |
committer | Sasha Levitskiy <sanek@google.com> | Fri Apr 11 16:15:46 2014 -0700 |
tree | 4ba56b89ded1fbcf8d8f1dbe75a7d3844f713739 | |
parent | 822b1a024d058641be9aefa14da794f09755ce35 [diff] [blame] |
Cleanup: warning fixit. bootable/recovery has a dependent commit: I9adb470b04e4301989d128c9c3097b21b4dea431 Change-Id: Icf23e659265d71d5226d527c2b40cfbc132320ee Signed-off-by: Sasha Levitskiy <sanek@google.com>
diff --git a/libsuspend/autosuspend_earlysuspend.c b/libsuspend/autosuspend_earlysuspend.c index 1df8c6a..2bece4c 100644 --- a/libsuspend/autosuspend_earlysuspend.c +++ b/libsuspend/autosuspend_earlysuspend.c
@@ -75,13 +75,8 @@ return err < 0 ? err : 0; } -static void *earlysuspend_thread_func(void *arg) +static void *earlysuspend_thread_func(void __unused *arg) { - char buf[80]; - char wakeup_count[20]; - int wakeup_count_len; - int ret; - while (1) { if (wait_for_fb_sleep()) { ALOGE("Failed reading wait_for_fb_sleep, exiting earlysuspend thread\n");