The sector cache was disabled in v4.2.2, and dropped in commit
8f40f5ad, v4.2.20. A bit of cache statistics code was left behind.
Remove it.
#define BP_NEIGHBORS 6 /* max number of neighbors */
struct bestp {
- int sctcache_hits;
- int sctcache_misses;
int bp_mobtype;
struct as_data *adp;
};
#ifdef AS_STATS
as_stats(adp, stderr);
#endif /* AS_STATS */
-#ifdef BP_STATS
- fprintf(stderr, "best path %s\n", path);
- fprintf(stderr, "cache hits/misses: %d/%d\n",
- bp->sctcache_hits, bp->sctcache_misses);
-#endif /* BP_STATS */
return 0;
}