[#2212] CID25820:

removed logically dead code and associated declaration