summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-11-03 10:51:39 -0700
committerJens Axboe <axboe@kernel.dk>2025-11-03 10:51:39 -0700
commitadb395c457a6a202240ebbb3255bf41b19d08a0d (patch)
tree62b9e94855fa457548c963d82cafdd7aaf3c1ad3
parent20fb3d05a34b55c8ec28ec3d3555e70c5bc0c72d (diff)
io_uring/slist: remove unused wq list splice helpers
Nobody is using those helpers anymore, get rid of them. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--io_uring/slist.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/io_uring/slist.h b/io_uring/slist.h
index 0eb194817242..7ef747442754 100644
--- a/io_uring/slist.h
+++ b/io_uring/slist.h
@@ -67,24 +67,6 @@ static inline void wq_list_cut(struct io_wq_work_list *list,
last->next = NULL;
}
-static inline void __wq_list_splice(struct io_wq_work_list *list,
- struct io_wq_work_node *to)
-{
- list->last->next = to->next;
- to->next = list->first;
- INIT_WQ_LIST(list);
-}
-
-static inline bool wq_list_splice(struct io_wq_work_list *list,
- struct io_wq_work_node *to)
-{
- if (!wq_list_empty(list)) {
- __wq_list_splice(list, to);
- return true;
- }
- return false;
-}
-
static inline void wq_stack_add_head(struct io_wq_work_node *node,
struct io_wq_work_node *stack)
{