diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-03-15 04:19:27 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-03-15 04:19:27 +0000 |
commit | 4aa6f62184341e7ec83a9b788fc901313bf85be5 (patch) | |
tree | 879639f37445beb090db6a22083bd47ba0de9083 /sys/kern | |
parent | af65d881e0771f916949bc9ba0900189219c9c46 (diff) |
Remove now unused legacy uiomovei() function.
All its callers got reviewed and converted to
use uiomove() properly.
ok deraadt@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_subr.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index c002707fc84..1b91e391c8e 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_subr.c,v 1.46 2016/02/11 18:59:15 stefan Exp $ */ +/* $OpenBSD: kern_subr.c,v 1.47 2016/03/15 04:19:26 stefan Exp $ */ /* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */ /* @@ -105,15 +105,6 @@ uiomove(void *cp, size_t n, struct uio *uio) return (error); } -int -uiomovei(void *cp, int n, struct uio *uio) -{ - if (n < 0) - return 0; - - return uiomove(cp, (size_t)n, uio); -} - /* * Give next character to user as result of read. */ |