Delete unnecessary judging.