From 7908a1d47755767553984406c5035540ca8508ae Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 25 Mar 2003 20:13:24 +0000 Subject: [PATCH] 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. --- sys/kern/kern_subr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index a5d6d0f7238..9e47e4e8331 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; -- 2.45.2