Skip to content

Commit 871760e

Browse files
committed
io_uring: kill stale comment for io_cqring_overflow_kill()
This function now deals only with discarding overflow entries on ring free and exit, and it no longer returns whether we successfully flushed all entries as there's no CQE posting involved anymore. Kill the outdated comment. Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent c8d8fc3 commit 871760e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

io_uring/io_uring.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,6 @@ static void io_cq_unlock_post(struct io_ring_ctx *ctx)
666666
io_commit_cqring_flush(ctx);
667667
}
668668

669-
/* Returns true if there are no backlogged entries after the flush */
670669
static void io_cqring_overflow_kill(struct io_ring_ctx *ctx)
671670
{
672671
struct io_overflow_cqe *ocqe;

0 commit comments

Comments
 (0)