summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_uring/zcrx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/io_uring/zcrx.c b/io_uring/zcrx.c
index fe86606b9f30..79f58c94494b 100644
--- a/io_uring/zcrx.c
+++ b/io_uring/zcrx.c
@@ -245,9 +245,6 @@ static int io_zcrx_create_area(struct io_zcrx_ifq *ifq,
if (!area->freelist)
goto err;
- for (i = 0; i < nr_iovs; i++)
- area->freelist[i] = i;
-
area->user_refs = kvmalloc_array(nr_iovs, sizeof(area->user_refs[0]),
GFP_KERNEL | __GFP_ZERO);
if (!area->user_refs)