summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2020-01-03 05:51:25 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2020-01-03 18:43:51 (GMT)
commitccf177344ae2d4b03802adecc08a6cc956a7dac5 (patch)
treec64767e1b87851109fc0cfa8acc6aac633a24735 /src/H5F.c
parent041b14c876cc7466da7868ef563563c879951ad6 (diff)
downloadhdf5-ccf177344ae2d4b03802adecc08a6cc956a7dac5.zip
hdf5-ccf177344ae2d4b03802adecc08a6cc956a7dac5.tar.gz
hdf5-ccf177344ae2d4b03802adecc08a6cc956a7dac5.tar.bz2
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 a835d1a..752530c 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")