diff options
| author | Sasha Levitskiy <sanek@google.com> | 2014-04-12 00:00:02 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-04-12 00:00:02 +0000 |
| commit | 43cb7ae6c31ced8cd518eab59dfea31ab1ade812 (patch) | |
| tree | 22f8c327a48e787108fbd09969ef515750fb6013 /libsuspend | |
| parent | 7acecec433b396405279c3fa35359636dbcc7d47 (diff) | |
| parent | 4f362e438c6ee5688c4f2f444203ed7acffa566b (diff) | |
| download | system_core-43cb7ae6c31ced8cd518eab59dfea31ab1ade812.zip system_core-43cb7ae6c31ced8cd518eab59dfea31ab1ade812.tar.gz system_core-43cb7ae6c31ced8cd518eab59dfea31ab1ade812.tar.bz2 | |
am 4f362e43: am 835526fd: Merge "Cleanup: warning fixit."
* commit '4f362e438c6ee5688c4f2f444203ed7acffa566b':
Cleanup: warning fixit.
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"); |
