Delete unnecessary code.

  All checks doing in next code block.