Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

io_uring/cmd: remove unused io_uring_cmd_iopoll_done()

io_uring_cmd_iopoll_done()'s only caller was removed in commit
9ce6c9875f3e ("nvme: always punt polled uring_cmd end_io work to
task_work"). So remove the unused function too.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250902013328.1517686-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Caleb Sander Mateos and committed by
Jens Axboe
9f8608fc dd386b0d

-11
-11
include/linux/io_uring/cmd.h
··· 133 133 } 134 134 #endif 135 135 136 - /* 137 - * Polled completions must ensure they are coming from a poll queue, and 138 - * hence are completed inside the usual poll handling loops. 139 - */ 140 - static inline void io_uring_cmd_iopoll_done(struct io_uring_cmd *ioucmd, 141 - ssize_t ret, ssize_t res2) 142 - { 143 - lockdep_assert(in_task()); 144 - io_uring_cmd_done(ioucmd, ret, res2, 0); 145 - } 146 - 147 136 /* users must follow the IOU_F_TWQ_LAZY_WAKE semantics */ 148 137 static inline void io_uring_cmd_do_in_task_lazy(struct io_uring_cmd *ioucmd, 149 138 io_uring_cmd_tw_t task_work_cb)