From 08276849da8b333a623533513b85599efa713aa0 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Sat, 18 Aug 2001 17:52:11 +0000 Subject: [PATCH] Clean up an unnecessary function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90332 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ldap/util_ldap_cache.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/ldap/util_ldap_cache.c b/modules/ldap/util_ldap_cache.c index 363122adcb..fe024e0e23 100644 --- a/modules/ldap/util_ldap_cache.c +++ b/modules/ldap/util_ldap_cache.c @@ -227,16 +227,10 @@ apr_status_t util_ldap_cache_module_kill(void *data) return APR_SUCCESS; } -apr_status_t util_ldap_cache_child_kill(void *data) -{ - /* Nothing to do */ - return APR_SUCCESS; -} - apr_status_t util_ldap_cache_init(apr_pool_t *pool, apr_size_t reqsize) { apr_status_t result = APR_SUCCESS; - apr_pool_cleanup_register(pool, NULL, util_ldap_cache_module_kill, util_ldap_cache_child_kill); + apr_pool_cleanup_register(pool, NULL, util_ldap_cache_module_kill, apr_pool_cleanup_null); #ifdef APU_HAS_LDAP_SHARED_CACHE result = apr_shm_init(&util_ldap_shm, reqsize, "/tmp/ldap_cache", pool); -- 2.40.0