From 47446e4d5bf281371ebf19d95432cfe98368dbcb Mon Sep 17 00:00:00 2001 From: Mohamad Chaarawi Date: Tue, 10 Jul 2012 11:46:03 -0500 Subject: [svn-r22543] cleanup --- src/H5VLnative.c | 32 ++------------------------------ src/H5VLpublic.h | 2 +- 2 files changed, 3 insertions(+), 31 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 diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h index 423eee3..bfd9c08 100644 --- a/src/H5VLpublic.h +++ b/src/H5VLpublic.h @@ -218,7 +218,7 @@ typedef struct H5VL_datatype_class_t { void *(*open) (void *obj, H5VL_loc_params_t loc_params, const char * name, hid_t tapl_id, hid_t req); ssize_t (*get_binary) (void *obj, unsigned char *buf, size_t size, hid_t req); herr_t (*close) (void *dt, hid_t req); -}H5VL_datatype_class_t; +} H5VL_datatype_class_t; /* H5D routines */ typedef struct H5VL_dataset_class_t { -- cgit v0.12