mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Remove debugging code that slipped into the previous commit.
Spotted by: bde
This commit is contained in:
parent
b209e5e3e4
commit
02ec600572
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125316
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user