Remove duplicate function call.