clear C doubly linked list implementation from linux kernel