[cache_check] remove some dead code