1 #include "../../../../include/linux/list.h"
6 * list_del_range - deletes range of entries from list.
7 * @begin: first element in the range to delete from the list.
8 * @end: last element in the range to delete from the list.
9 * Note: list_empty on the range of entries does not return true after this,
10 * the entries is in an undefined state.
12 static inline void list_del_range(struct list_head *begin,
13 struct list_head *end)
15 begin->prev->next = end->next;
16 end->next->prev = begin->prev;