Remove dead code

This method is never called.
And if this method shold be called the method has an constant returnvalue.
Because of it there is no need for this method.