diff options
author | David Young <dyoung@hdfgroup.org> | 2020-07-14 20:06:02 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-14 20:06:02 (GMT) |
commit | c3120ac3da5ec1f39177370ad5c4d0145a94bf25 (patch) | |
tree | 1d09fff0788f3c908cf40ecbd568882046100c82 /src | |
parent | 5c9d2724be18ee83f03acc369f2466e969fe1f93 (diff) | |
download | hdf5-c3120ac3da5ec1f39177370ad5c4d0145a94bf25.zip hdf5-c3120ac3da5ec1f39177370ad5c4d0145a94bf25.tar.gz hdf5-c3120ac3da5ec1f39177370ad5c4d0145a94bf25.tar.bz2 |
Delete some dead code.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FDprivate.h | 2 | ||||
-rw-r--r-- | src/H5FDvfd_swmr.c | 46 |
2 files changed, 0 insertions, 48 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h index 4eeea36..ae36ce9 100644 --- a/src/H5FDprivate.h +++ b/src/H5FDprivate.h @@ -354,8 +354,6 @@ H5_DLL herr_t H5FD_vfd_swmr_get_tick_and_idx(H5FD_t *_file, hbool_t read_index, uint64_t *tick_ptr, uint32_t *num_entries_ptr, H5FD_vfd_swmr_idx_entry_t index[]); H5_DLL H5FD_vfd_swmr_idx_entry_t *vfd_swmr_enlarge_shadow_index(struct H5F_t *); -H5_DLL hbool_t H5FD_is_vfd_swmr_driver(H5FD_t *_file); -H5_DLL H5FD_t *H5FD_vfd_swmr_get_underlying_vfd(H5FD_t *_file); H5_DLL void H5FD_vfd_swmr_dump_status(H5FD_t *, uint64_t); H5_DLL void H5FD_vfd_swmr_set_pb_configured(H5FD_t *_file); H5_DLL void H5FD_vfd_swmr_record_elapsed_ticks(H5FD_t *, uint64_t); diff --git a/src/H5FDvfd_swmr.c b/src/H5FDvfd_swmr.c index 86ff378..0914162 100644 --- a/src/H5FDvfd_swmr.c +++ b/src/H5FDvfd_swmr.c @@ -1451,52 +1451,6 @@ done: /*------------------------------------------------------------------------- - * Function: H5FD_is_vfd_swmr_driver() - * - * Purpose: Determine if the driver is a VFD SWMR driver - * - * Return: Success: TRUE/FALSE - * Failure: FAIL - * - *------------------------------------------------------------------------- - */ -hbool_t -H5FD_is_vfd_swmr_driver(H5FD_t *_file) -{ - H5FD_vfd_swmr_t *file = (H5FD_vfd_swmr_t *)_file; /* VFD SWMR file struct */ - - FUNC_ENTER_NOAPI_NOINIT_NOERR - - HDassert(file); - - FUNC_LEAVE_NOAPI(file->pub.driver_id == H5FD_VFD_SWMR) -} /* H5FD_is_vfd_swmr_driver() */ - - -/*------------------------------------------------------------------------- - * Function: H5FD_vfd_swmr_get_underlying_vfd() - * - * Purpose: Retrieve the underlying driver for the HDF5 file - * - * Return: Success: SUCCEED - * Failure: FAIL - * - *------------------------------------------------------------------------- - */ -H5FD_t * -H5FD_vfd_swmr_get_underlying_vfd(H5FD_t *_file) -{ - H5FD_vfd_swmr_t *file = (H5FD_vfd_swmr_t *)_file; /* VFD SWMR file struct */ - - FUNC_ENTER_NOAPI_NOINIT_NOERR - - HDassert(file); - - FUNC_LEAVE_NOAPI(file->hdf5_file_lf) -} /* H5FD_vfd_swmr_get_underlying_vfd() */ - - -/*------------------------------------------------------------------------- * Function: H5FD_vfd_swmr_dump_status * * Purpose: Dump a variety of information about the vfd swmr reader |