removed some unused code
revert (commit of wrong file/removed used code)
Merge pull request #129598 from mauk81/cleanup

removed some unused code