From e1c6486a01b865dd13c276b9b8ea5db89847abc2 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 8 Aug 2003 13:54:54 -0500 Subject: [svn-r7301] Purpose: Code cleanup Description: Remove comments and redundant code. Platforms tested: h5committested --- src/H5CS.c | 2 -- src/H5FS.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/H5CS.c b/src/H5CS.c index c39d497..e670c54 100644 --- a/src/H5CS.c +++ b/src/H5CS.c @@ -86,9 +86,7 @@ H5FS_get_stack(void) fstack = pthread_getspecific(H5TS_funcstk_key_g); if (!fstack) { /* no associated value with current thread - create one */ - /* Where is it freed? */ fstack = (H5FS_t *)H5MM_calloc(sizeof(H5FS_t)); - fstack->nused = 0; pthread_setspecific(H5TS_funcstk_key_g, (void *)fstack); } diff --git a/src/H5FS.c b/src/H5FS.c index c39d497..e670c54 100644 --- a/src/H5FS.c +++ b/src/H5FS.c @@ -86,9 +86,7 @@ H5FS_get_stack(void) fstack = pthread_getspecific(H5TS_funcstk_key_g); if (!fstack) { /* no associated value with current thread - create one */ - /* Where is it freed? */ fstack = (H5FS_t *)H5MM_calloc(sizeof(H5FS_t)); - fstack->nused = 0; pthread_setspecific(H5TS_funcstk_key_g, (void *)fstack); } -- cgit v0.12