Removing unused code

We have removed the unused code. Please find the explanation on the attached image.
![code change explanation](https://cloud.githubusercontent.com/assets/2478488/4320135/7b27a662-3f34-11e4-8803-91de51223aac.png)