Remove unnecessary variable assign.