Remove redundant variable assignment.