cache_tree_find(): remove redundant check