]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove unused functions (#38547)
authorMukund Sivaraman <muks@isc.org>
Thu, 26 Feb 2015 09:17:03 +0000 (14:47 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 26 Feb 2015 09:17:03 +0000 (14:47 +0530)
lib/isc/pthreads/mutex.c

index 71e843c1595b5efc2b9d57b45035ac9e09209eb0..2a502a5f5131cd3367346cfb2270fddb69792aec 100644 (file)
@@ -231,13 +231,6 @@ static isc_boolean_t errcheck_initialized = ISC_FALSE;
 static pthread_mutexattr_t errcheck;
 static isc_once_t once_errcheck = ISC_ONCE_INIT;
 
-static void
-destroy_errcheck(void) {
-       if (errcheck_initialized) {
-               RUNTIME_CHECK(pthread_mutexattr_destroy(&errcheck) == 0);
-       }
-}
-
 static void
 initialize_errcheck(void) {
        RUNTIME_CHECK(pthread_mutexattr_init(&errcheck) == 0);
@@ -274,13 +267,6 @@ static isc_boolean_t attr_initialized = ISC_FALSE;
 static pthread_mutexattr_t attr;
 static isc_once_t once_attr = ISC_ONCE_INIT;
 
-static void
-destroy_attr(void) {
-       if (attr_initialized) {
-               RUNTIME_CHECK(pthread_mutexattr_destroy(&attr) == 0);
-       }
-}
-
 #ifdef HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
 static void
 initialize_attr(void) {