From 357dc7ee9969b74bf1701ae5111004cd8283f2b7 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 16 Mar 2006 13:43:26 -0500 Subject: [svn-r12102] Purpose: Code cleanup Description: Clean up formatting & comments, etc. Platforms tested: None, very minor --- src/H5SL.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/H5SL.c b/src/H5SL.c index 2e37dc0..a6e1d0b 100644 --- a/src/H5SL.c +++ b/src/H5SL.c @@ -204,23 +204,14 @@ H5FL_BARR_DEFINE_STATIC(H5SL_node_t,H5SL_node_ptr_t,H5SL_LEVEL_MAX); EXAMPLES REVISION LOG --------------------------------------------------------------------------*/ - static herr_t +static herr_t H5SL_init_interface(void) { time_t curr_time; /* Current time, for seeding random number generator */ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5SL_init_interface) -/* A temporary patch for redstorm because Lustre there also uses srand. - * This causes Lustre on Redstorm to hang with following errors. (Lustre - * has fix it, but not deployed at RedStorm yet. - * (client.c:568:ptlrpc_check_status()) @@@ type == PTL_RPC_MSG_ERR, err == -114 req@0x57a9660 x1/t0 o38->mds_l2@MDS_PEER_UUID:12 lens 240/272 ref 1 fl Rpc:R/100000/0 rc 0/-114 - * - * 3/6/06. LA: - * Shouldn't need patch anymore because HDsrand will use rand_r on Red Storm instead of srand. - */ - -/* Create randomized set of numbers */ + /* Create randomized set of numbers */ curr_time=HDtime(NULL); HDsrand((unsigned)curr_time); -- cgit v0.12