Removed the unused code

Removed the unused code