diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-09-28 13:47:29 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-09-28 13:47:29 +0000 |
| commit | bd193b8ba7b1f8808b4730700c0b3f96b3ab4bb6 (patch) | |
| tree | 90e21e78c230992b14ecc96bb624452057893e20 /lib | |
| parent | 90796c08605ab8d531819727871873e680e6fef2 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libkse/thread/thr_kern.c | 2 | ||||
| -rw-r--r-- | lib/libpthread/thread/thr_kern.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c index b8a48de579e9..68d533ea798b 100644 --- a/lib/libkse/thread/thr_kern.c +++ b/lib/libkse/thread/thr_kern.c @@ -2394,11 +2394,9 @@ thr_link(struct pthread *thread) { kse_critical_t crit; struct kse *curkse; - struct pthread *curthread; crit = _kse_critical_enter(); curkse = _get_curkse(); - curthread = _get_curthread(); KSE_LOCK_ACQUIRE(curkse, &_thread_list_lock); /* * Initialize the unique id (which GDB uses to track diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index b8a48de579e9..68d533ea798b 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -2394,11 +2394,9 @@ thr_link(struct pthread *thread) { kse_critical_t crit; struct kse *curkse; - struct pthread *curthread; crit = _kse_critical_enter(); curkse = _get_curkse(); - curthread = _get_curthread(); KSE_LOCK_ACQUIRE(curkse, &_thread_list_lock); /* * Initialize the unique id (which GDB uses to track |
