[openib-general] [PATCH][MINOR] OpenSM/osm_inform.c: Removed unneeded memory clearing in osm_infr_construct

Hal Rosenstock halr at voltaire.com
Wed Dec 6 05:59:46 PST 2006


OpenSM/osm_inform.c: Removed unneeded memory clearing in
osm_infr_construct

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

diff --git a/osm/opensm/osm_inform.c b/osm/opensm/osm_inform.c
index 92647ef..8d1a13a 100644
--- a/osm/opensm/osm_inform.c
+++ b/osm/opensm/osm_inform.c
@@ -70,7 +70,7 @@ void
 osm_infr_construct(
   IN osm_infr_t* const p_infr )
 {
-  memset( p_infr, 0, sizeof(osm_infr_t) );
+
 }
 
 /**********************************************************************







More information about the general mailing list