Remove duplicated function call.