Commit ebeb668f authored by Mukund Sivaraman's avatar Mukund Sivaraman

Remove unused functions (#38547)

parent 07dd40e8
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment