[ofa-general] [PATCH][TRIVIAL] opensm/include/osm_mtree.h: Eliminate unneeded include

Hal Rosenstock hrosenstock at xsigo.com
Wed Jun 18 07:09:40 PDT 2008


opensm/include/osm_mtree.h: Eliminate unneeded include

Also, other cosmetic formatting changes

Signed-off-by: Hal Rosenstock <hal at xsigo.com>

diff --git a/opensm/include/opensm/osm_mtree.h b/opensm/include/opensm/osm_mtree.h
index e9d663c..0ea6755 100644
--- a/opensm/include/opensm/osm_mtree.h
+++ b/opensm/include/opensm/osm_mtree.h
@@ -43,7 +43,6 @@
 #ifndef _OSM_MTREE_H_
 #define _OSM_MTREE_H_
 
-#include <string.h>
 #include <iba/ib_types.h>
 #include <complib/cl_qmap.h>
 #include <opensm/osm_base.h>
@@ -192,7 +191,6 @@ osm_mtree_node_get_max_children(IN const osm_mtree_node_t * const p_mtn)
 {
 	return (p_mtn->max_children);
 }
-
 /*
 * PARAMETERS
 *	p_mtn
@@ -223,7 +221,6 @@ static inline osm_mtree_node_t *osm_mtree_node_get_child(IN const
 	CL_ASSERT(child < p_mtn->max_children);
 	return (p_mtn->child_array[child]);
 }
-
 /*
 * PARAMETERS
 *	p_mtn
@@ -256,7 +253,6 @@ static inline osm_switch_t *osm_mtree_node_get_switch_ptr(IN const
 {
 	return (p_mtn->p_sw);
 }
-
 /*
 * PARAMETERS
 *	p_mtn





More information about the general mailing list