Remove duplicated from linked list.