diff options
-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 b8a48de..68d533e 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 b8a48de..68d533e 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 |