Remove unnecessary assign.