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.
This commit is contained in:
John Baldwin 2003-03-25 20:13:24 +00:00
parent 91d631e536
commit 7908a1d477
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112631

View File

@ -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;