Remove unnecessary value check.