aboutsummaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorGravatar Jens Axboe <axboe@kernel.dk> 2024-02-15 14:04:56 -0700
committerGravatar Jens Axboe <axboe@kernel.dk> 2024-02-15 14:04:56 -0700
commit871760eb7af57accc5402142154e64f21701fa16 (patch)
treeeb21c25e0272fa7fdb184df75069ce6468c889e8 /io_uring
parentio_uring/sqpoll: use the correct check for pending task_work (diff)
downloadlinux-871760eb7af57accc5402142154e64f21701fa16.tar.gz
linux-871760eb7af57accc5402142154e64f21701fa16.tar.bz2
linux-871760eb7af57accc5402142154e64f21701fa16.zip
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>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/io_uring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index 45a2f8f3a77c..cf2f514b7cc0 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -666,7 +666,6 @@ static void io_cq_unlock_post(struct io_ring_ctx *ctx)
io_commit_cqring_flush(ctx);
}
-/* Returns true if there are no backlogged entries after the flush */
static void io_cqring_overflow_kill(struct io_ring_ctx *ctx)
{
struct io_overflow_cqe *ocqe;