summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-06-14 19:00:54 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-06-14 19:00:54 (GMT)
commit3247aa351eb300b408e64be3a0b81910374d1327 (patch)
tree726331b4bed165756485e1825dcc9e72949e4b50
parent69a63b02bc7e6d9f5cbfe132598ee2ecfd0a6c1d (diff)
downloadhdf5-3247aa351eb300b408e64be3a0b81910374d1327.zip
hdf5-3247aa351eb300b408e64be3a0b81910374d1327.tar.gz
hdf5-3247aa351eb300b408e64be3a0b81910374d1327.tar.bz2
[svn-r8682] Purpose: Take out unnecessary step
Description: I put function call of H5T_lock in H5T_open in last checkin. It's unnecessary. Solution: Take out. Platforms tested: eirene(simple change).
-rw-r--r--src/H5T.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 91ad28e..b8d4e57 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -2748,10 +2748,6 @@ H5T_open (H5G_entry_t *loc, const char *name, hid_t dxpl_id)
if (H5T_vlen_mark(dt, NULL, H5T_VLEN_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;