diff options
| author | Elliott Hughes <enh@google.com> | 2014-05-14 17:02:09 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2014-05-14 17:02:09 -0700 |
| commit | 3e786987b5fb3272b37dd955fe13fc67a8ddc880 (patch) | |
| tree | 5db3139cf8d8bbf6a1ea70ff00f584433268d042 /libc/bionic/system_properties.cpp | |
| parent | bc7f8a791b4a510914fd5cac713415acb80fb806 (diff) | |
| download | bionic-3e786987b5fb3272b37dd955fe13fc67a8ddc880.zip bionic-3e786987b5fb3272b37dd955fe13fc67a8ddc880.tar.gz bionic-3e786987b5fb3272b37dd955fe13fc67a8ddc880.tar.bz2 | |
Remove the unused __system_property_wait.
This isn't declared in any header file.
Bug: 14970171
Change-Id: Ib9fce61343dfb6b6ccd7e1430e1a6e34e4e869df
Diffstat (limited to 'libc/bionic/system_properties.cpp')
| -rw-r--r-- | libc/bionic/system_properties.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libc/bionic/system_properties.cpp b/libc/bionic/system_properties.cpp index ec3d04b..97e1a03 100644 --- a/libc/bionic/system_properties.cpp +++ b/libc/bionic/system_properties.cpp @@ -655,23 +655,6 @@ int __system_property_set(const char *key, const char *value) return 0; } -int __system_property_wait(const prop_info *pi) -{ - if (pi == 0) { - prop_area *pa = __system_property_area__; - const uint32_t n = pa->serial; - do { - __futex_wait(&pa->serial, n, NULL); - } while (n == pa->serial); - } else { - const uint32_t n = pi->serial; - do { - __futex_wait((volatile void *)&pi->serial, n, NULL); - } while (n == pi->serial); - } - return 0; -} - int __system_property_update(prop_info *pi, const char *value, unsigned int len) { prop_area *pa = __system_property_area__; |
