summaryrefslogtreecommitdiff
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2003-01-03 19:38:54 +0000
committerJulian Elischer <julian@FreeBSD.org>2003-01-03 19:38:54 +0000
commit3f5f24287f139ebf9a752dd4ef365ab5c04062eb (patch)
tree52dd27ec34af0ff5e98c2c0f201bbbf387170d5f /sys/kern/kern_thread.c
parent5440b5a97411f51889d3bdf37b8c97dc5f87d054 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r--sys/kern/kern_thread.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 166e688aa622..53a09af5cf38 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -301,8 +301,6 @@ kse_thr_interrupt(struct thread *td, struct kse_thr_interrupt_args *uap)
abortsleep(td2);
}
mtx_unlock_spin(&sched_lock);
- td->td_retval[0] = 0;
- td->td_retval[1] = 0;
return (0);
}
}
@@ -410,8 +408,6 @@ kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
if (!TD_IS_IDLE(td2)) {
/* Return silently if no longer idle */
PROC_UNLOCK(p);
- td->td_retval[0] = 0;
- td->td_retval[1] = 0;
return (0);
}
break;
@@ -439,8 +435,6 @@ kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
TD_CLR_IDLE(td2);
setrunnable(td2);
mtx_unlock_spin(&sched_lock);
- td->td_retval[0] = 0;
- td->td_retval[1] = 0;
return (0);
}
mtx_unlock_spin(&sched_lock);
@@ -566,9 +560,6 @@ kse_create(struct thread *td, struct kse_create_args *uap)
/*
* Fill out the KSE-mode specific fields of the new kse.
*/
-
- td->td_retval[0] = 0;
- td->td_retval[1] = 0;
return (0);
}