/* Each of the lists is a queue. The list at @list is reinitialised  */
static void list_splice_tail_init(struct list_head *list, struct list_head *head)
/* Each of the lists is a queue. The list at @list is reinitialised  */
static void list_splice_tail_init(struct list_head *list, struct list_head *head)
{
	if (!list_empty(list)) {
		__list_splice(list, head->prev, head);
		INIT_LIST_HEAD(list);
	}
}