summaryrefslogtreecommitdiff
path: root/libfscrypt
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2019-08-02 13:40:51 -0700
committerVic Yang <victoryang@google.com>2019-08-02 13:40:51 -0700
commitb68b7867406aca4a1a9d9809984893f9f15e7b5e (patch)
tree8abb17ceca8dd69acab528922a72c043c7cb6ac6 /libfscrypt
parent471bffe67d23ff7270401f5eeb94b559b6969309 (diff)
downloadextras-b68b7867406aca4a1a9d9809984893f9f15e7b5e.tar.gz
libfscrypt: Remove an unused variable
This is the only object in .bss in libfscrypt and it's unused, so it's costing us 4KB for nothing. Remove it. Bug: 138856262 Test: objdump -h libfscrypt.so. Check .bss is gone. Change-Id: Iac5eff45e28453f09d380c10a1818eb53ed2fe48
Diffstat (limited to 'libfscrypt')
-rw-r--r--libfscrypt/fscrypt_init_extensions.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libfscrypt/fscrypt_init_extensions.cpp b/libfscrypt/fscrypt_init_extensions.cpp
index 9781267c..f132f8a0 100644
--- a/libfscrypt/fscrypt_init_extensions.cpp
+++ b/libfscrypt/fscrypt_init_extensions.cpp
@@ -37,8 +37,6 @@
#define TAG "fscrypt"
-static const std::string arbitrary_sequence_number = "42";
-
static int set_system_de_policy_on(char const* dir);
int fscrypt_install_keyring()