diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2003-04-02 03:05:39 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2003-04-02 03:05:39 +0000 |
| commit | 26f52e2f8b92ffea807005dc15866b2cf79ed3ac (patch) | |
| tree | 3edb86617f8b88a54083b0eeb1e45c1b253d05e0 /lib/libthr/thread/thr_find_thread.c | |
| parent | dd3dd8724dcceea872de0aea7ef8baabb3ba808c (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_find_thread.c')
| -rw-r--r-- | lib/libthr/thread/thr_find_thread.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_find_thread.c b/lib/libthr/thread/thr_find_thread.c index a7848187369e..1b34f2fe9645 100644 --- a/lib/libthr/thread/thr_find_thread.c +++ b/lib/libthr/thread/thr_find_thread.c @@ -39,13 +39,11 @@ int _find_thread(pthread_t pthread) { - pthread_t curthread; pthread_t pthread1; if (pthread == NULL || pthread->magic != PTHREAD_MAGIC) return(EINVAL); - curthread = _get_curthread(); GIANT_LOCK(curthread); /* Search for the specified thread: */ |
