diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-10-05 04:35:59 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-10-05 04:35:59 +0000 |
commit | dbf91abc13b728812958c0cb4d3d70c51a5b90c3 (patch) | |
tree | 1c553cb0ce3596e5334dd836c4eec50cbc119f02 /sys/kern | |
parent | 722fc75788765602970e34ec0188aa8418139df0 (diff) | |
download | FreeBSD-src-dbf91abc13b728812958c0cb4d3d70c51a5b90c3.zip FreeBSD-src-dbf91abc13b728812958c0cb4d3d70c51a5b90c3.tar.gz |
Remove bogus duplicate assignment of local variables.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_kse.c | 4 | ||||
-rw-r--r-- | sys/kern/kern_thread.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index 1b133a1..2f6ccc5 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.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; 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; |