summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-09-19 19:27:17 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-09-19 19:27:17 (GMT)
commitce5a4cf6f344e77536a8fdc728d36556d1f9e889 (patch)
tree06103884470b3f033ec098036a8c450b6beb5097 /src/H5AC.c
parente38803837f7f6357bff03bf6ad9c04ace52d38e3 (diff)
downloadhdf5-ce5a4cf6f344e77536a8fdc728d36556d1f9e889.zip
hdf5-ce5a4cf6f344e77536a8fdc728d36556d1f9e889.tar.gz
hdf5-ce5a4cf6f344e77536a8fdc728d36556d1f9e889.tar.bz2
[svn-r7495] Purpose:
Removed Dead Code Description: Some of the FPHDF5 code was dead (I thought it'd be useful at one point, but was wrong). Solution: Removed Platforms tested: Linux (FPHDF5 specific. No need for h5committest) Misc. update:
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index d1c585e..a9bf824 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -1258,15 +1258,14 @@ H5AC_protect(H5F_t *f, hid_t dxpl_id, const H5AC_class_t *type, haddr_t addr,
idx = H5AC_HASH(f, addr);
cache = f->shared->cache;
info = cache->slot + idx;
-#ifdef H5_HAVE_FPHDF5
- lf = f->shared->lf;
-#endif /* H5_HAVE_FPHDF5 */
#ifdef H5AC_DEBUG
prot = cache->prot + idx;
#endif /* H5AC_DEBUG */
#ifdef H5_HAVE_PARALLEL
#ifdef H5_HAVE_FPHDF5
+ lf = f->shared->lf;
+
if (H5FD_is_fphdf5_driver(lf)) {
/*
* This is the FPHDF5 driver. Grab a lock for this piece of
@@ -1505,13 +1504,6 @@ H5AC_unprotect(H5F_t *f, hid_t dxpl_id, const H5AC_class_t *type, haddr_t addr,
FUNC_ENTER_NOAPI(H5AC_unprotect, FAIL)
-#ifdef H5_HAVE_FPHDF5
- /*
- * XXX: Send a request to the SAP asking to release the lock on this
- * particular address. -BW
- */
-#endif /* H5_HAVE_FPHDF5 */
-
/* check args */
assert(f);
assert(f->shared->cache);