Removed redundant code.

Removed redundant code.