[#2212] CID26280:

Removed dead code and corresponding unused function