]> granicus.if.org Git - apache/commitdiff
Clean up an unnecessary function.
authorGraham Leggett <minfrin@apache.org>
Sat, 18 Aug 2001 17:52:11 +0000 (17:52 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 18 Aug 2001 17:52:11 +0000 (17:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90332 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap_cache.c

index 363122adcbb7f3cb2667a7d71da462aad8157df6..fe024e0e23161a10565c7661025fb4fd38ed7f9a 100644 (file)
@@ -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);