Remove duplicate call to pop_front