From 4f7ced52c09ce4e59bf74989d71991a7da168fac Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 17 May 2016 14:55:02 -0400 Subject: bftw: Remove some debugging counters that were left in accidentally. --- bftw.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bftw.c b/bftw.c index 8f6492e..7a0594e 100644 --- a/bftw.c +++ b/bftw.c @@ -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); -- cgit v1.2.3