Remove unused function.

Refs #9402