Remove unnecessary check.