summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2020-02-17 20:07:20 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2020-02-17 20:07:20 (GMT)
commite5452e7ff2605083efdd5ca3b335d865829d8068 (patch)
tree4be9711771888918bd78530098b7907b2da77f0c /src/H5F.c
parentd45139a58e81151a5981ed4bf6f0ee83a2566511 (diff)
parent2dbcd87fcddfb519369a368a00acbe8826d5a0eb (diff)
downloadhdf5-e5452e7ff2605083efdd5ca3b335d865829d8068.zip
hdf5-e5452e7ff2605083efdd5ca3b335d865829d8068.tar.gz
hdf5-e5452e7ff2605083efdd5ca3b335d865829d8068.tar.bz2
Merge pull request #2338 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_12 to hdf5_1_12
* commit '2dbcd87fcddfb519369a368a00acbe8826d5a0eb': Fix some places where H5P_DEFAULT gets passed down to a VOL connector
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/H5F.c b/src/H5F.c
index b623491..e80b1bd 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -914,13 +914,6 @@ H5Fdelete(const char *filename, hid_t fapl_id)
if(!filename || !*filename)
HGOTO_ERROR(H5E_ARGS, H5E_BADRANGE, FAIL, "no file name specified")
- /* Check the file access property list */
- if(H5P_DEFAULT == fapl_id)
- fapl_id = H5P_FILE_ACCESS_DEFAULT;
- else
- if(TRUE != H5P_isa_class(fapl_id, H5P_FILE_ACCESS))
- HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list")
-
/* Verify access property list and set up collective metadata if appropriate */
if(H5CX_set_apl(&fapl_id, H5P_CLS_FACC, H5I_INVALID_HID, TRUE) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTSET, H5I_INVALID_HID, "can't set access property list info")