Removed unused code.
Eliminated unused variable.