diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-12-12 07:14:57 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-12-12 07:14:57 +0000 |
commit | 7bdde275182bcbf09f2ca3fd28fa51df5fb9f504 (patch) | |
tree | ecfa1c2326d3f7243b39fc4171373d96973b0122 /lib/libthr/thread/thr_mutex.c | |
parent | cc22e5c9bead00e367108238f2cf432e199c1678 (diff) | |
download | FreeBSD-src-7bdde275182bcbf09f2ca3fd28fa51df5fb9f504.zip FreeBSD-src-7bdde275182bcbf09f2ca3fd28fa51df5fb9f504.tar.gz |
Remove unused _get_curthread() call.
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
-rw-r--r-- | lib/libthr/thread/thr_mutex.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |