Remove unused code

refs #7423