diff --git a/src/calocation.c b/src/calocation.c index 2ab8d946..743ab6a6 100644 --- a/src/calocation.c +++ b/src/calocation.c @@ -572,7 +572,6 @@ int ca_location_open(CaLocation *l) { if (l->mtime != UINT64_MAX) { struct stat st; - uint64_t n; /* Ensure inode, mtime and generation still match */ @@ -582,10 +581,6 @@ int ca_location_open(CaLocation *l) { if (st.st_ino != l->inode) return -ESTALE; - n = MAX(timespec_to_nsec(st.st_mtim), timespec_to_nsec(st.st_ctim)); - if (l->mtime != n) - return -ESTALE; - if (l->generation_valid) { int v;