diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-05-18 21:10:08 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-05-18 21:10:08 +0000 |
commit | 0c2f08245c8885475a31cbc19983b641ce2aec3f (patch) | |
tree | 706cb97a956c348f3457f36f65e628b831369ddf /sys | |
parent | 696f13b7fdbc64ff2137b4759d3fcc0bae6121b3 (diff) | |
download | FreeBSD-src-0c2f08245c8885475a31cbc19983b641ce2aec3f.zip FreeBSD-src-0c2f08245c8885475a31cbc19983b641ce2aec3f.tar.gz |
Remove unnecessary assignment.
CID: 2227
Found with: Coverity Prevent(tm)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_fork.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index fb388ca..fd39e2a 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -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); /* |