File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -27,28 +27,6 @@ static inline void wq_list_add_after(struct io_wq_work_node *node,
27
27
list -> last = node ;
28
28
}
29
29
30
- /**
31
- * wq_list_merge - merge the second list to the first one.
32
- * @list0: the first list
33
- * @list1: the second list
34
- * Return the first node after mergence.
35
- */
36
- static inline struct io_wq_work_node * wq_list_merge (struct io_wq_work_list * list0 ,
37
- struct io_wq_work_list * list1 )
38
- {
39
- struct io_wq_work_node * ret ;
40
-
41
- if (!list0 -> first ) {
42
- ret = list1 -> first ;
43
- } else {
44
- ret = list0 -> first ;
45
- list0 -> last -> next = list1 -> first ;
46
- }
47
- INIT_WQ_LIST (list0 );
48
- INIT_WQ_LIST (list1 );
49
- return ret ;
50
- }
51
-
52
30
static inline void wq_list_add_tail (struct io_wq_work_node * node ,
53
31
struct io_wq_work_list * list )
54
32
{
You can’t perform that action at this time.
0 commit comments