remove dead code
Merge pull request #703 from arnaudbey/master

remove dead code