summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative_file.c
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2019-11-26 01:07:44 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2019-12-09 20:55:03 (GMT)
commit5c97046501f35cc435144c5e111dadcb10e5c290 (patch)
treee7fd1a3084cd418669c8cf87d108e5bd036cdf39 /src/H5VLnative_file.c
parent518f35d4341213cbfbd23e697fbdc9e9641fc03f (diff)
downloadhdf5-5c97046501f35cc435144c5e111dadcb10e5c290.zip
hdf5-5c97046501f35cc435144c5e111dadcb10e5c290.tar.gz
hdf5-5c97046501f35cc435144c5e111dadcb10e5c290.tar.bz2
Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE
Remove H5F__get_file_id() and use only private routine instead
Diffstat (limited to 'src/H5VLnative_file.c')
-rw-r--r--src/H5VLnative_file.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/H5VLnative_file.c b/src/H5VLnative_file.c
index 3703c05..588d59f 100644
--- a/src/H5VLnative_file.c
+++ b/src/H5VLnative_file.c
@@ -591,20 +591,6 @@ H5VL__native_file_optional(void *obj, hid_t H5_ATTR_UNUSED dxpl_id, void H5_ATTR
break;
}
- /* H5Iget_file_id */
- case H5VL_NATIVE_FILE_GET_FILE_ID:
- {
- H5I_type_t type = (H5I_type_t)HDva_arg(arguments, int); /* enum work-around */
- hbool_t app_ref = (hbool_t)HDva_arg(arguments, int);
- hid_t *file_id = HDva_arg(arguments, hid_t *);
-
- if(NULL == (f = H5F__get_file(obj, type)))
- HGOTO_ERROR(H5E_FILE, H5E_BADTYPE, FAIL, "not a file or file object")
- if((*file_id = H5F__get_file_id(f, app_ref)) < 0)
- HGOTO_ERROR(H5E_FILE, H5E_CANTGET, FAIL, "can't get file ID")
- break;
- }
-
/* H5Fclear_elink_file_cache */
case H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE:
{