Remove useless check.