Remove two unneeded variable assignments.