From 02ec600572c865d9f3db5a6365b978aa8eba7c20 Mon Sep 17 00:00:00 2001 From: Mike Silbersack Date: Mon, 2 Feb 2004 09:09:59 +0000 Subject: [PATCH] Remove debugging code that slipped into the previous commit. Spotted by: bde --- sys/kern/kern_subr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 69ce29167f65..e2c9efea7be8 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) {