Remove useless check