summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-10-05 04:35:59 +0000
committerjmallett <jmallett@FreeBSD.org>2002-10-05 04:35:59 +0000
commitdbf91abc13b728812958c0cb4d3d70c51a5b90c3 (patch)
tree1c553cb0ce3596e5334dd836c4eec50cbc119f02 /sys/kern/kern_thread.c
parent722fc75788765602970e34ec0188aa8418139df0 (diff)
downloadFreeBSD-src-dbf91abc13b728812958c0cb4d3d70c51a5b90c3.zip
FreeBSD-src-dbf91abc13b728812958c0cb4d3d70c51a5b90c3.tar.gz
Remove bogus duplicate assignment of local variables.
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r--sys/kern/kern_thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 1b133a1..2f6ccc5 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -915,8 +915,8 @@ thread_single(int force_exit)
int
thread_suspend_check(int return_instead)
{
- struct thread *td = curthread;
- struct proc *p = td->td_proc;
+ struct thread *td;
+ struct proc *p;
td = curthread;
p = td->td_proc;
OpenPOWER on IntegriCloud