aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-11-21 13:12:57 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-21 13:12:57 -0800
commit585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf (patch)
tree7ea3a086d6397e61b736db01ba9cd33b98ea6d98
parent6bbaaa630195a1bcfa90c168a354f76b90125ed6 (diff)
parent33901e602484d0b5f6a07746e4660ec3e9ac62f7 (diff)
downloadsystem_core-585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf.tar.gz
system_core-585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf.tar.bz2
system_core-585d578a21ecf4dc7a4b4cf7c00b1f93641adbaf.zip
Merge "Delete dead code."
-rw-r--r--init/property_service.c15
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;