summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkse')
-rw-r--r--lib/libkse/thread/thr_kern.c2
1 files changed, 0 insertions, 2 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
OpenPOWER on IntegriCloud