LPS-44098 Remove unused variables