Removed unnecessary code
Merge pull request #1674 from fruitwasp/master

Removed unnecessary code