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:
jhb 2003-03-25 20:13:24 +00:00
parent cc0be35b66
commit be64c41651

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;