From: Derrick Brashear Date: Sat, 5 Apr 2008 19:02:59 +0000 (+0000) Subject: revert-ubik-changes-20080405 X-Git-Tag: openafs-devel-1_5_61~1137 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5dd7e65c6fd233e70d98b271cbf48ac2356efe0f;p=packages%2Fo%2Fopenafs.git revert-ubik-changes-20080405 LICENSE IPL10 these changes are unneeded; remove them --- diff --git a/src/util/pthread_glock.c b/src/util/pthread_glock.c index 550608230..e6e6f78ed 100644 --- a/src/util/pthread_glock.c +++ b/src/util/pthread_glock.c @@ -44,11 +44,6 @@ pthread_recursive_mutex_lock(pthread_recursive_mutex_t * mut) { int rc = 0; -/* - * FSLog("Entered pthread_recursive_mutex_lock, thread id is %d\n", - * pthread_self()); - */ - (glock_init || pthread_once(&glock_init_once, glock_init_func)); if (mut->locked) { @@ -72,12 +67,6 @@ pthread_recursive_mutex_unlock(pthread_recursive_mutex_t * mut) { int rc = 0; -/* - * FSLog("Entered pthread_recursive_mutex_unlock, thread id is %d\n", - * pthread_self()); - * - */ - (glock_init || pthread_once(&glock_init_once, glock_init_func)); if ((mut->locked) && (pthread_equal(mut->owner, pthread_self()))) { diff --git a/src/util/pthread_glock.h b/src/util/pthread_glock.h index a41968472..1c9beeae6 100644 --- a/src/util/pthread_glock.h +++ b/src/util/pthread_glock.h @@ -42,8 +42,6 @@ extern int pthread_recursive_mutex_unlock(pthread_recursive_mutex_p); #else -#include - #define LOCK_GLOBAL_MUTEX #define UNLOCK_GLOBAL_MUTEX