Remove redundant condition.