Remove useless condition