Remove redundant check.