Remove meaningless code.

This is introduced by a method refactor of commit fc690d01.