diff options
Diffstat (limited to 'bftw.c')
-rw-r--r-- | bftw.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -314,9 +314,6 @@ static bool dircache_should_retry(struct dircache *cache, const struct dircache_ } } -static size_t misses = 0; -static size_t total = 0; - /** * Open a dircache_entry. * @@ -340,13 +337,6 @@ static DIR *dircache_entry_open(struct dircache *cache, struct dircache_entry *e const char *at_path = path; struct dircache_entry *base = dircache_entry_base(cache, entry, &at_fd, &at_path); - ++total; - struct dircache_entry *asdf = entry; - do { - ++misses; - asdf = asdf->parent; - } while (asdf != base); - int flags = O_RDONLY | O_DIRECTORY | O_CLOEXEC; int fd = openat(at_fd, at_path, flags); |