removing unnecessary code -refs #6839
Indentation -refs #6839