aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2026-05-14 22:17:55 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2026-05-14 22:17:55 +0000
commit13d3bd165e225eec9af91b6e3361c2482931f95b (patch)
treeb4bbb2581796cd4c996ce9933090603d25b34d3a /sys/kern
parent4080419d9a2d88d44d20baaf3ea01934561819c1 (diff)
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_uio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c
index 6ac932fb6690..fa5865fbe938 100644
--- a/sys/kern/subr_uio.c
+++ b/sys/kern/subr_uio.c
@@ -441,8 +441,6 @@ allocuio(u_int iovcnt)
struct uio *uio;
int iovlen;
- KASSERT(iovcnt <= UIO_MAXIOV,
- ("Requested %u iovecs exceed UIO_MAXIOV", iovcnt));
iovlen = iovcnt * sizeof(struct iovec);
uio = malloc(iovlen + sizeof(*uio), M_IOV, M_WAITOK);
uio->uio_iov = (struct iovec *)(uio + 1);