The parameter was only used to calculate the number of hops done up to this
point but
this is not required anymore as there is a curront_hops parameter now.
Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>
---
opensm/opensm/osm_ucast_ftree.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/opensm/opensm/osm_ucast_ftree.c b/opensm/opensm/osm_ucast_ftree.c
index bde6dbd..c871387 100644
--- a/opensm/opensm/osm_ucast_ftree.c
+++ b/opensm/opensm/osm_ucast_ftree.c
@@ -2115,7 +2115,6 @@ fabric_route_upgoing_by_going_down(IN ftree_fabric_t * p_ftree,
IN boolean_t is_real_lid,
IN boolean_t is_main_path,
IN boolean_t is_target_a_sw,
- IN uint16_t reverse_hops,
IN uint8_t current_hops)
{
ftree_sw_t *p_remote_sw;
@@ -2268,8 +2267,7 @@ fabric_route_upgoing_by_going_down(IN ftree_fabric_t * p_ftree,
is_real_lid, /* whether the target LID is real or dummy */
is_main_path, /* whether this is path to HCA that should by tracked by counters */
is_target_a_sw, /* Wheter target lid is a switch or not */
- reverse_hops,
- current_hops + 1);
+ current_hops + 1); /* Number of hops done to this point */
created_route |= routed;
if (routed) {
p_min_port->counter_up++;
@@ -2335,7 +2333,6 @@ fabric_route_downgoing_by_going_up(IN ftree_fabric_t * p_ftree,
is_real_lid, /* whether this target LID is real or dummy */
is_main_path, /* whether this path to HCA should by tracked by counters */
is_target_a_sw, /* Wheter target lid is a switch or not */
- reverse_hops, /* Number of reverse_hops done up to this point */
current_hops);
/* recursion stop condition - if it's a root switch, */
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general