Remove unnecessary variable. Refs #9208.