KMS-4431 MR review removed unused function that also has a reference to an undefined function