diff options
author | Edwin Vane <edwin.vane@intel.com> | 2012-07-26 15:26:46 -0400 |
---|---|---|
committer | Edwin Vane <edwin.vane@intel.com> | 2012-08-02 10:40:12 -0400 |
commit | 62f9ffac1aa4809c0acd29dc4c4872a3b4da2062 (patch) | |
tree | ccd96bf7af4ac971b32dda57aac0a0f213c8bc98 /libsuspend/autosuspend_wakeup_count.c | |
parent | a5db95da3801cd82df80c41996b1e6f69a9acecf (diff) | |
download | core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.tar.gz core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.tar.bz2 core-62f9ffac1aa4809c0acd29dc4c4872a3b4da2062.zip |
Fix unused param warning
libsuspend had only a single warning in the clang build. Fixing it to
make the build clean.
Change-Id: Iaac5f9144b6e6cb122141c6416056c1b2c9aa98e
Author: Edwin Vane <edwin.vane@intel.com>
Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
Diffstat (limited to 'libsuspend/autosuspend_wakeup_count.c')
-rw-r--r-- | libsuspend/autosuspend_wakeup_count.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsuspend/autosuspend_wakeup_count.c b/libsuspend/autosuspend_wakeup_count.c index b038e20f5..a88e67700 100644 --- a/libsuspend/autosuspend_wakeup_count.c +++ b/libsuspend/autosuspend_wakeup_count.c @@ -38,7 +38,7 @@ static pthread_t suspend_thread; static sem_t suspend_lockout; static const char *sleep_state = "mem"; -static void *suspend_thread_func(void *arg) +static void *suspend_thread_func(void *arg __attribute__((unused))) { char buf[80]; char wakeup_count[20]; |