summaryrefslogtreecommitdiffstats
path: root/io_uring
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-02-22 14:32:43 +0000
committerJens Axboe <axboe@kernel.dk>2023-02-22 09:57:23 -0700
commit9a1563d1720680bdc1d702486b7b73f51c079b32 (patch)
tree2def32ee81feacfda702ca2d4044328a0f672f1d /io_uring
parent48ba08374e779421ca34bd14b4834aae19fc3e6a (diff)
downloadlinux-stable-9a1563d1720680bdc1d702486b7b73f51c079b32.tar.gz
linux-stable-9a1563d1720680bdc1d702486b7b73f51c079b32.tar.bz2
linux-stable-9a1563d1720680bdc1d702486b7b73f51c079b32.zip
io_uring: remove unused wq_list_merge
There are no users of wq_list_merge, kill it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/5f9ad0301949213230ad9000a8359d591aae615a.1677002255.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/slist.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/io_uring/slist.h b/io_uring/slist.h
index f27601fa4660..7c198a40d5f1 100644
--- a/io_uring/slist.h
+++ b/io_uring/slist.h
@@ -27,28 +27,6 @@ static inline void wq_list_add_after(struct io_wq_work_node *node,
list->last = node;
}
-/**
- * wq_list_merge - merge the second list to the first one.
- * @list0: the first list
- * @list1: the second list
- * Return the first node after mergence.
- */
-static inline struct io_wq_work_node *wq_list_merge(struct io_wq_work_list *list0,
- struct io_wq_work_list *list1)
-{
- struct io_wq_work_node *ret;
-
- if (!list0->first) {
- ret = list1->first;
- } else {
- ret = list0->first;
- list0->last->next = list1->first;
- }
- INIT_WQ_LIST(list0);
- INIT_WQ_LIST(list1);
- return ret;
-}
-
static inline void wq_list_add_tail(struct io_wq_work_node *node,
struct io_wq_work_list *list)
{