Eliminate a redundant check.