summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-25 20:13:24 +0000
committerjhb <jhb@FreeBSD.org>2003-03-25 20:13:24 +0000
commit671aa92ea0381c10ce1237a16db15941bdc322b3 (patch)
tree300986d0ccfdd6275ef98818ec6775091f124043
parent5be2b1a1e93bcd8e6494fbe9c9c0d88c90b31510 (diff)
downloadFreeBSD-src-671aa92ea0381c10ce1237a16db15941bdc322b3.zip
FreeBSD-src-671aa92ea0381c10ce1237a16db15941bdc322b3.tar.gz
Remove extraneous check. We are not going to return from copyin/out on
the stack of a thread A but actually be thread B instead of thread A.
-rw-r--r--sys/kern/kern_subr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index a5d6d0f..9e47e4e 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -185,8 +185,6 @@ uiomove(void *cp, int n, struct uio *uio)
n -= cnt;
}
out:
- if (td != curthread) printf("uiomove: IT CHANGED!");
- td = curthread; /* Might things have changed in copyin/copyout? */
if (td) {
mtx_lock_spin(&sched_lock);
td->td_flags = (td->td_flags & ~TDF_DEADLKTREAT) | save;
OpenPOWER on IntegriCloud