summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gampe2014-11-24 20:53:44 -0600
committerAndreas Gampe2014-11-24 20:53:44 -0600
commit487f98447af87cc6dd48a6220957358e6e682d4b (patch)
treee15f8c531283c00d8272b2eae7e3801b7aba158b /libsuspend
parent7f187c5f95d6bf0514e71e0e074768bd5395d45f (diff)
downloadplatform-system-core-487f98447af87cc6dd48a6220957358e6e682d4b.tar.gz
platform-system-core-487f98447af87cc6dd48a6220957358e6e682d4b.tar.xz
platform-system-core-487f98447af87cc6dd48a6220957358e6e682d4b.zip
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 5451615c3..0d31e741e 100644
--- a/libsuspend/autosuspend_autosleep.c
+++ b/libsuspend/autosuspend_autosleep.c
@@ -84,7 +84,6 @@ struct autosuspend_ops autosuspend_autosleep_ops = {
84 84
85struct autosuspend_ops *autosuspend_autosleep_init(void) 85struct autosuspend_ops *autosuspend_autosleep_init(void)
86{ 86{
87 int ret;
88 char buf[80]; 87 char buf[80];
89 88
90 autosleep_fd = open(SYS_POWER_AUTOSLEEP, O_WRONLY); 89 autosleep_fd = open(SYS_POWER_AUTOSLEEP, O_WRONLY);