Get rid of a useless check