aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_subr.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-06-20 07:08:43 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-06-20 07:08:43 +0000
commit9d04103b7c23f23da74c5e8bb81987b883ddddbd (patch)
treeb5e5e8ae7895da9c7540b0fd28fc72cb0d1ab3cc /sys/kern/kern_subr.c
parent3f6c6c912ffe7c9393155fa0f843fd1d3e64a394 (diff)
downloadsrc-9d04103b7c23f23da74c5e8bb81987b883ddddbd.tar.gz
src-9d04103b7c23f23da74c5e8bb81987b883ddddbd.zip
Notes
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r--sys/kern/kern_subr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index 73aa75bbef89..b6ca2cb5eb64 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -96,7 +96,6 @@ uiomove(cp, n, uio)
switch (uio->uio_segflg) {
case UIO_USERSPACE:
- case UIO_USERISPACE:
if (ticks - PCPU_GET(switchticks) >= hogticks)
uio_yield();
if (uio->uio_rw == UIO_READ)
@@ -168,7 +167,6 @@ uiomoveco(cp, n, uio, obj)
switch (uio->uio_segflg) {
case UIO_USERSPACE:
- case UIO_USERISPACE:
if (ticks - PCPU_GET(switchticks) >= hogticks)
uio_yield();
if (uio->uio_rw == UIO_READ) {
@@ -311,10 +309,6 @@ again:
*iov->iov_base = c;
break;
- case UIO_USERISPACE:
- if (suibyte(iov->iov_base, c) < 0)
- return (EFAULT);
- break;
case UIO_NOCOPY:
break;
}