remove dead code

This method is private and unused, so let's remove it!