summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/queue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/queue.c b/src/queue.c
index d508099..76e6edc 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -104,8 +104,6 @@ int io_uring_submit(struct io_uring *ring)
while (sq->sqe_head < sq->sqe_tail) {
ktail_next++;
read_barrier();
- if (ktail_next == *sq->khead)
- break;
sq->array[ktail & mask] = sq->sqe_head & mask;
ktail = ktail_next;