Remove diagnostic write statement that is not needed.