From c3120ac3da5ec1f39177370ad5c4d0145a94bf25 Mon Sep 17 00:00:00 2001 From: David Young Date: Tue, 14 Jul 2020 15:06:02 -0500 Subject: Delete some dead code. --- src/H5FDprivate.h | 2 -- src/H5FDvfd_swmr.c | 46 ---------------------------------------------- 2 files changed, 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 -- cgit v0.12