Removed unused variable.

Based on comments from code review.
Tracker item 3731.