summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5FD.c18
-rw-r--r--src/H5FDprivate.h1
2 files changed, 0 insertions, 19 deletions
diff --git a/src/H5FD.c b/src/H5FD.c
index 600a825..c8b8da2 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -746,24 +746,6 @@ finish:
return deduped;
}
-/* Return `true` if a second H5FD_t identical to `file`
- * has an exclusive owner, `false` otherwise.
- */
-bool
-H5FD_has_conflict(H5FD_t *file)
-{
- H5FD_t *item;
-
- TAILQ_FOREACH(item, &all_vfds, link) {
- // skip "self", skip unowned
- if (item == file || item->exc_owner == NULL)
- continue;
- if (H5FDcmp(file, item) == 0)
- return true;
- }
- return false;
-}
-
/*-------------------------------------------------------------------------
* Function: H5FD_open
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h
index 9f5309d..0d05b15 100644
--- a/src/H5FDprivate.h
+++ b/src/H5FDprivate.h
@@ -317,7 +317,6 @@ H5_DLL herr_t H5FD_free_driver_info(hid_t driver_id, const void *driver_info);
H5_DLL hid_t H5FD_register(const void *cls, size_t size, hbool_t app_ref);
H5_DLL H5FD_t *H5FD_open(const char *name, unsigned flags, hid_t fapl_id,
haddr_t maxaddr);
-bool H5FD_has_conflict(H5FD_t *);
H5FD_t *H5FD_deduplicate(H5FD_t *, hid_t);
H5_DLL herr_t H5FD_close(H5FD_t *file);
H5_DLL int H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2);