Remove useless condition.