diff options
author | silby <silby@FreeBSD.org> | 2004-02-02 09:09:59 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2004-02-02 09:09:59 +0000 |
commit | 53962ffd37889dec7afa8309501675c30c9907b4 (patch) | |
tree | eecf46f4cb752d3d38259666074e8321181120de /sys/kern | |
parent | d73d499ddd73877b55d335316ae0551616fcd767 (diff) | |
download | FreeBSD-src-53962ffd37889dec7afa8309501675c30c9907b4.zip FreeBSD-src-53962ffd37889dec7afa8309501675c30c9907b4.tar.gz |
Remove debugging code that slipped into the previous commit.
Spotted by: bde
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_subr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 69ce291..e2c9efe 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -491,9 +491,6 @@ iov_to_uio(struct iovec *iovp, u_int iovcnt, struct uio *auio) u_int iovlen; struct iovec *iov = NULL; - if (iovcnt < 0) - panic("iovcnt < 0!\n"); - /* note: can't use iovlen until iovcnt is validated */ iovlen = iovcnt * sizeof (struct iovec); if (iovcnt > UIO_MAXIOV) { |