summaryrefslogtreecommitdiffstats
path: root/libsuspend
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 18:53:44 -0800
committerAndreas Gampe <agampe@google.com>2014-11-24 18:53:44 -0800
commit487f98447af87cc6dd48a6220957358e6e682d4b (patch)
treee15f8c531283c00d8272b2eae7e3801b7aba158b /libsuspend
parent7f187c5f95d6bf0514e71e0e074768bd5395d45f (diff)
downloadsystem_core-487f98447af87cc6dd48a6220957358e6e682d4b.zip
system_core-487f98447af87cc6dd48a6220957358e6e682d4b.tar.gz
system_core-487f98447af87cc6dd48a6220957358e6e682d4b.tar.bz2
Libsuspend: Remove unused variable
For build-system CFLAGS clean-up, remove unused variable. Change-Id: I34bd33fd24b02ee58b64029146c253c61651d45f
Diffstat (limited to 'libsuspend')
-rw-r--r--libsuspend/autosuspend_autosleep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsuspend/autosuspend_autosleep.c b/libsuspend/autosuspend_autosleep.c
index 5451615..0d31e74 100644
--- a/libsuspend/autosuspend_autosleep.c
+++ b/libsuspend/autosuspend_autosleep.c
@@ -84,7 +84,6 @@ struct autosuspend_ops autosuspend_autosleep_ops = {
struct autosuspend_ops *autosuspend_autosleep_init(void)
{
- int ret;
char buf[80];
autosleep_fd = open(SYS_POWER_AUTOSLEEP, O_WRONLY);