list_del_init — deletes entry from list and reinitialize it.
void list_del_init (struct list_head * entry);
void list_del_init (
)
entry
the element to delete from the list.