From 7bdde275182bcbf09f2ca3fd28fa51df5fb9f504 Mon Sep 17 00:00:00 2001 From: davidxu Date: Mon, 12 Dec 2005 07:14:57 +0000 Subject: Remove unused _get_curthread() call. --- lib/libthr/thread/thr_mutex.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libthr/thread/thr_mutex.c') diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index e26f53b..9dbb01d 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -852,10 +852,8 @@ _mutex_cv_unlock(pthread_mutex_t *m) int _mutex_cv_lock(pthread_mutex_t *m) { - struct pthread *curthread; int ret; - curthread = _get_curthread(); if ((ret = _pthread_mutex_lock(m)) == 0) (*m)->m_refcount--; return (ret); -- cgit v1.1