aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2003-09-28 13:47:29 +0000
committerDavid Xu <davidxu@FreeBSD.org>2003-09-28 13:47:29 +0000
commitbd193b8ba7b1f8808b4730700c0b3f96b3ab4bb6 (patch)
tree90e21e78c230992b14ecc96bb624452057893e20 /lib
parent90796c08605ab8d531819727871873e680e6fef2 (diff)
downloadsrc-bd193b8ba7b1f8808b4730700c0b3f96b3ab4bb6.tar.gz
src-bd193b8ba7b1f8808b4730700c0b3f96b3ab4bb6.zip
Remove unused variable.
Notes
Notes: svn path=/head/; revision=120554
Diffstat (limited to 'lib')
-rw-r--r--lib/libkse/thread/thr_kern.c2
-rw-r--r--lib/libpthread/thread/thr_kern.c2
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