removed dead code

The code is dead, never called