diff options
| author | Jeff Brown <jeffbrown@google.com> | 2011-11-21 13:12:57 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-21 13:12:57 -0800 |
| commit | 585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf (patch) | |
| tree | 7ea3a086d6397e61b736db01ba9cd33b98ea6d98 | |
| parent | 6bbaaa630195a1bcfa90c168a354f76b90125ed6 (diff) | |
| parent | 33901e602484d0b5f6a07746e4660ec3e9ac62f7 (diff) | |
| download | system_core-585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf.tar.gz system_core-585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf.tar.bz2 system_core-585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf.zip | |
Merge "Delete dead code."
| -rw-r--r-- | init/property_service.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/init/property_service.c b/init/property_service.c index 67334375..687de6d6 100644 --- a/init/property_service.c +++ b/init/property_service.c @@ -338,21 +338,6 @@ int property_set(const char *name, const char *value) return 0; } -static int property_list(void (*propfn)(const char *key, const char *value, void *cookie), - void *cookie) -{ - char name[PROP_NAME_MAX]; - char value[PROP_VALUE_MAX]; - const prop_info *pi; - unsigned n; - - for(n = 0; (pi = __system_property_find_nth(n)); n++) { - __system_property_read(pi, name, value); - propfn(name, value, cookie); - } - return 0; -} - void handle_property_set_fd() { prop_msg msg; |
