io_uring/cmd: remove unused io_uring_cmd_iopoll_done()
io_uring_cmd_iopoll_done()'s only caller was removed in commit
9ce6c9875f ("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>
pull/1354/merge
parent
dd386b0d5e
commit
9f8608fce9
|
|
@ -133,17 +133,6 @@ static inline bool io_uring_mshot_cmd_post_cqe(struct io_uring_cmd *ioucmd,
|
|||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Polled completions must ensure they are coming from a poll queue, and
|
||||
* hence are completed inside the usual poll handling loops.
|
||||
*/
|
||||
static inline void io_uring_cmd_iopoll_done(struct io_uring_cmd *ioucmd,
|
||||
ssize_t ret, ssize_t res2)
|
||||
{
|
||||
lockdep_assert(in_task());
|
||||
io_uring_cmd_done(ioucmd, ret, res2, 0);
|
||||
}
|
||||
|
||||
/* users must follow the IOU_F_TWQ_LAZY_WAKE semantics */
|
||||
static inline void io_uring_cmd_do_in_task_lazy(struct io_uring_cmd *ioucmd,
|
||||
io_uring_cmd_tw_t task_work_cb)
|
||||
|
|
|
|||
Loading…
Reference in New Issue