remove unused code.
Merge pull request #30 from axsh/remove-unnecessary-code

remove unused code.