| 157 | } |
| 158 | |
| 159 | static inline void list_replace_init(struct list_head *old, |
| 160 | struct list_head *newp) |
| 161 | { |
| 162 | struct list_head *head = old->next; |
| 163 | |
| 164 | list_del(old); |
| 165 | list_add_tail(newp, head); |
| 166 | INIT_LIST_HEAD(old); |
| 167 | } |
| 168 | |
| 169 | /* |
| 170 | * This is exactly the same as a normal list_head, except that it can be |
nothing calls this directly
no test coverage detected