remove useless conditional.