From cdc1cfb3e51f3caddc1f290b46dc789c036f22ed Mon Sep 17 00:00:00 2001 From: Sasha Levitskiy Date: Thu, 10 Apr 2014 17:10:21 -0700 Subject: Cleanup: warning fixit. bootable/recovery has a dependent commit: I9adb470b04e4301989d128c9c3097b21b4dea431 Change-Id: Icf23e659265d71d5226d527c2b40cfbc132320ee Signed-off-by: Sasha Levitskiy --- libsuspend/autosuspend_earlysuspend.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libsuspend') 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) 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"); -- cgit v1.2.3-54-g00ecf