Delete unused function.

compiles and tests pass.