summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-09-28 13:47:29 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-09-28 13:47:29 +0000
commit5910a67bb3deaa1c18049f4e456ed020f30c32ab (patch)
tree90e21e78c230992b14ecc96bb624452057893e20 /lib/libkse
parent458a41c429f33523a684910ffc79c605a7cee146 (diff)
downloadFreeBSD-src-5910a67bb3deaa1c18049f4e456ed020f30c32ab.zip
FreeBSD-src-5910a67bb3deaa1c18049f4e456ed020f30c32ab.tar.gz
Remove unused variable.
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