summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_exit.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-04-02 03:05:39 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-04-02 03:05:39 +0000
commit26f52e2f8b92ffea807005dc15866b2cf79ed3ac (patch)
tree3edb86617f8b88a54083b0eeb1e45c1b253d05e0 /lib/libthr/thread/thr_exit.c
parentdd3dd8724dcceea872de0aea7ef8baabb3ba808c (diff)
Notes
Diffstat (limited to 'lib/libthr/thread/thr_exit.c')
-rw-r--r--lib/libthr/thread/thr_exit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libthr/thread/thr_exit.c b/lib/libthr/thread/thr_exit.c
index 2d791d249877..f18c7c88bc2a 100644
--- a/lib/libthr/thread/thr_exit.c
+++ b/lib/libthr/thread/thr_exit.c
@@ -72,8 +72,6 @@ _thread_exit(char *fname, int lineno, char *string)
void
_thread_exit_cleanup(void)
{
- struct pthread *curthread = _get_curthread();
-
/*
* POSIX states that cancellation/termination of a thread should
* not release any visible resources (such as mutexes) and that
@@ -93,7 +91,6 @@ _thread_exit_cleanup(void)
void
_pthread_exit(void *status)
{
- struct pthread *curthread = _get_curthread();
pthread_t pthread;
/* Check if this thread is already in the process of exiting: */