Remove duplicated line of code.