Remove unnecessary assignment.

CID:		2227
Found with:	Coverity Prevent(tm)
This commit is contained in:
Robert Watson 2007-05-18 21:10:08 +00:00
parent df541e5fc1
commit eefc497257
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169684

View File

@ -797,12 +797,10 @@ fork_exit(callout, arg, frame)
* cpu_switch()'ed to, but when children start up they arrive here
* instead, so we must do much the same things as mi_switch() would.
*/
if ((td = PCPU_GET(deadthread))) {
PCPU_SET(deadthread, NULL);
thread_stash(td);
}
td = curthread;
mtx_unlock_spin(&sched_lock);
/*