Remove dead variable reference.

Clean up code in response to code review comments.