summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-08-20 15:14:48 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-08-20 15:14:48 (GMT)
commitcd9c80925e1612cf7a4c996fef99dc8632b8b520 (patch)
treedd82004693898c1d1d8b70833671c46a1369abf2 /src
parent38310e91760795632252aecddc294139fc00c449 (diff)
downloadhdf5-cd9c80925e1612cf7a4c996fef99dc8632b8b520.zip
hdf5-cd9c80925e1612cf7a4c996fef99dc8632b8b520.tar.gz
hdf5-cd9c80925e1612cf7a4c996fef99dc8632b8b520.tar.bz2
Delete disused routine H5FD_has_conflict().
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);