summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5T.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 304536b..dc5b8e0 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -2732,10 +2732,6 @@ H5T_open (H5G_entry_t *loc, const char *name, hid_t dxpl_id)
if (H5T_set_loc(dt, NULL, H5T_LOC_MEMORY)<0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, NULL, "invalid datatype location")
- /* Unlock data type */
- if (H5T_lock (dt, FALSE)<0)
- HGOTO_ERROR (H5E_DATATYPE, H5E_CANTINIT, NULL, "unable to lock transient data type")
-
/* Set return value */
ret_value=dt;