diff options
author | Sasha Levitskiy <sanek@google.com> | 2014-04-10 17:10:21 -0700 |
---|---|---|
committer | Sasha Levitskiy <sanek@google.com> | 2014-04-11 16:15:46 -0700 |
commit | cdc1cfb3e51f3caddc1f290b46dc789c036f22ed (patch) | |
tree | 4ba56b89ded1fbcf8d8f1dbe75a7d3844f713739 /libsuspend | |
parent | 822b1a024d058641be9aefa14da794f09755ce35 (diff) | |
download | system_core-cdc1cfb3e51f3caddc1f290b46dc789c036f22ed.zip system_core-cdc1cfb3e51f3caddc1f290b46dc789c036f22ed.tar.gz system_core-cdc1cfb3e51f3caddc1f290b46dc789c036f22ed.tar.bz2 |
Cleanup: warning fixit.
bootable/recovery has a dependent commit: I9adb470b04e4301989d128c9c3097b21b4dea431
Change-Id: Icf23e659265d71d5226d527c2b40cfbc132320ee
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Diffstat (limited to 'libsuspend')
-rw-r--r-- | libsuspend/autosuspend_earlysuspend.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 @@ static int wait_for_fb_sleep(void) 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"); |