summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-02-26 13:00:13 +0000
committerEd Schouten <ed@FreeBSD.org>2009-02-26 13:00:13 +0000
commit522559363330c79c2d6a096fcc02b163b24fceaf (patch)
tree1bcb74e3ecd0ddb561ade138ca85c0c32d5dfb9b
parentfb2a76ccf838d7b4bbd5dcc78f8b08ae7b183a65 (diff)
Notes
-rw-r--r--sys/kern/kern_condvar.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_condvar.c b/sys/kern/kern_condvar.c
index dbc9833e5b8f..e6a0b7a60e6a 100644
--- a/sys/kern/kern_condvar.c
+++ b/sys/kern/kern_condvar.c
@@ -214,11 +214,9 @@ _cv_wait_sig(struct cv *cvp, struct lock_object *lock)
WITNESS_SAVE_DECL(lock_witness);
struct lock_class *class;
struct thread *td;
- struct proc *p;
int lock_state, rval;
td = curthread;
- p = td->td_proc;
lock_state = 0;
#ifdef KTRACE
if (KTRPOINT(td, KTR_CSW))
@@ -285,7 +283,6 @@ _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo)
int lock_state, rval;
td = curthread;
- rval = 0;
lock_state = 0;
#ifdef KTRACE
if (KTRPOINT(td, KTR_CSW))
@@ -350,12 +347,9 @@ _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo)
WITNESS_SAVE_DECL(lock_witness);
struct lock_class *class;
struct thread *td;
- struct proc *p;
int lock_state, rval;
td = curthread;
- p = td->td_proc;
- rval = 0;
lock_state = 0;
#ifdef KTRACE
if (KTRPOINT(td, KTR_CSW))