diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c index 5f23f6dfcaef..6e277daef9e7 100644 --- a/sys/kern/kern_thr.c +++ b/sys/kern/kern_thr.c @@ -101,7 +101,9 @@ thr_exit1(void) PROC_UNLOCK(p); td->td_kse = NULL; td->td_state = TDS_INACTIVE; +#if 0 td->td_proc = NULL; +#endif td->td_ksegrp = NULL; td->td_last_kse = NULL; thread_stash(td);