From: Honggang Li <honli@xxxxxxxxxx> BTW, delete one redundant comment. Signed-off-by: Honggang Li <honli@xxxxxxxxxx> --- include/opensm/osm_path.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/include/opensm/osm_path.h b/include/opensm/osm_path.h index b69e5f9c..1c2d32dd 100644 --- a/include/opensm/osm_path.h +++ b/include/opensm/osm_path.h @@ -85,9 +85,6 @@ typedef struct osm_dr_path { } osm_dr_path_t; /* * FIELDS -* h_bind -* Bind handle for port to which this path applies. -* * hop_count * The number of hops in this path. * @@ -108,7 +105,6 @@ typedef struct osm_dr_path { */ static inline void osm_dr_path_construct(IN osm_dr_path_t * p_path) { - /* The first location in the path array is reserved. */ memset(p_path, 0, sizeof(*p_path)); } @@ -117,15 +113,6 @@ static inline void osm_dr_path_construct(IN osm_dr_path_t * p_path) * p_path * [in] Pointer to a directed route path object to initialize. * -* h_bind -* [in] Bind handle for the port on which this path applies. -* -* hop_count -* [in] Hop count needed to reach this node. -* -* path -* [in] Directed route path to reach this node. -* * RETURN VALUE * None. * @@ -159,9 +146,6 @@ osm_dr_path_init(IN osm_dr_path_t * p_path, IN uint8_t hop_count, * p_path * [in] Pointer to a directed route path object to initialize. * -* h_bind -* [in] Bind handle for the port on which this path applies. -* * hop_count * [in] Hop count needed to reach this node. * -- 2.14.4