Remove useless check and error log.