diff options
| author | Sasha Levitskiy <sanek@google.com> | 2014-04-11 23:57:21 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-04-11 23:57:21 +0000 |
| commit | 4f362e438c6ee5688c4f2f444203ed7acffa566b (patch) | |
| tree | a475e90d5bf76ed2944eda2df941a824a5b44246 /libsuspend/autosuspend_earlysuspend.c | |
| parent | 3c29e66eaa683fcd1412f618f9da1e7c2e2b52aa (diff) | |
| parent | 835526fdc035cad6d712a7098d0eae37b3995d2c (diff) | |
| download | system_core-4f362e438c6ee5688c4f2f444203ed7acffa566b.zip system_core-4f362e438c6ee5688c4f2f444203ed7acffa566b.tar.gz system_core-4f362e438c6ee5688c4f2f444203ed7acffa566b.tar.bz2 | |
am 835526fd: Merge "Cleanup: warning fixit."
* commit '835526fdc035cad6d712a7098d0eae37b3995d2c':
Cleanup: warning fixit.
Diffstat (limited to 'libsuspend/autosuspend_earlysuspend.c')
| -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"); |
