summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-10 16:46:03 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-10 16:46:03 (GMT)
commit47446e4d5bf281371ebf19d95432cfe98368dbcb (patch)
tree48913ad3ceb569eac4173930e7e081587bc8d2f9 /src/H5VLnative.c
parentdee5636a90a214926d4b9fb24e671921a3e3c4bc (diff)
downloadhdf5-47446e4d5bf281371ebf19d95432cfe98368dbcb.zip
hdf5-47446e4d5bf281371ebf19d95432cfe98368dbcb.tar.gz
hdf5-47446e4d5bf281371ebf19d95432cfe98368dbcb.tar.bz2
[svn-r22543] cleanup
Diffstat (limited to 'src/H5VLnative.c')
-rw-r--r--src/H5VLnative.c32
1 files changed, 2 insertions, 30 deletions
diff --git a/src/H5VLnative.c b/src/H5VLnative.c
index 0bca739..fb5ce4a 100644
--- a/src/H5VLnative.c
+++ b/src/H5VLnative.c
@@ -58,12 +58,8 @@
#include "H5VLprivate.h" /* VOL plugins */
#include "H5VLnative.h" /* Native VOL plugin */
-/* The driver identification number, initialized at runtime */
-static hid_t H5VL_NATIVE_g = 0;
-
/* Prototypes */
static H5F_t *H5VL_native_get_file(void *obj, H5I_type_t type);
-static herr_t H5VL_native_term(void);
/* Atrribute callbacks */
static void *H5VL_native_attr_create(void *obj, H5VL_loc_params_t loc_params, const char *attr_name, hid_t acpl_id, hid_t aapl_id, hid_t req);
@@ -134,8 +130,8 @@ static herr_t H5VL_native_object_close(void *obj, H5VL_loc_params_t loc_params,
static H5VL_class_t H5VL_native_g = {
"native", /* name */
- NULL, /* initialize */
- H5VL_native_term, /* terminate */
+ NULL, /* initialize */
+ NULL, /* terminate */
{ /* attribute_cls */
H5VL_native_attr_create, /* create */
H5VL_native_attr_open, /* open */
@@ -247,30 +243,6 @@ H5VL_native_init(void)
/*---------------------------------------------------------------------------
- * Function: H5VL_native_term
- *
- * Purpose: Shut down the VOL plugin
- *
- * Returns: Non-negative on success or negative on failure
- *
- * Programmer: Mohamad Chaarawi
- * January, 2012
- *
- *---------------------------------------------------------------------------
- */
-static herr_t
-H5VL_native_term(void)
-{
- FUNC_ENTER_NOAPI_NOINIT_NOERR
-
- /* Reset VOL ID */
- H5VL_NATIVE_g = 0;
-
- FUNC_LEAVE_NOAPI(SUCCEED)
-} /* end H5VL_native_term() */
-
-
-/*---------------------------------------------------------------------------
* Function: H5VL_native_get_file
*
* Purpose: utility routine to get file object