Message ID | 1433419971-29067-1-git-send-email-vangelis@simula.no (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Hal Rosenstock |
Headers | show |
Hi Vangelis, On 6/4/2015 8:12 AM, Vangelis wrote: > ftree_fabric_t *p_ftree is not used anywhere in OpenSM's function sw_create(). > --- > opensm/osm_ucast_ftree.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) This looks fine to me. Please send me your S-O-B line for this. Thanks. -- Hal -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 6/4/2015 8:12 AM, Vangelis wrote: > ftree_fabric_t *p_ftree is not used anywhere in OpenSM's function sw_create(). > --- > opensm/osm_ucast_ftree.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Thanks. Applied. -- Hal -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/opensm/osm_ucast_ftree.c b/opensm/osm_ucast_ftree.c index f646bd0..3699d95 100644 --- a/opensm/osm_ucast_ftree.c +++ b/opensm/osm_ucast_ftree.c @@ -528,8 +528,7 @@ static void port_group_add_port(IN ftree_port_group_t * p_group, ** ***************************************************/ -static ftree_sw_t *sw_create(IN ftree_fabric_t * p_ftree, - IN osm_switch_t * p_osm_sw) +static ftree_sw_t *sw_create(IN osm_switch_t * p_osm_sw) { ftree_sw_t *p_sw; uint8_t ports_num; @@ -1089,7 +1088,7 @@ static void fabric_add_sw(ftree_fabric_t * p_ftree, osm_switch_t * p_osm_sw) CL_ASSERT(osm_node_get_type(p_osm_sw->p_node) == IB_NODE_TYPE_SWITCH); - p_sw = sw_create(p_ftree, p_osm_sw); + p_sw = sw_create(p_osm_sw); if (!p_sw) return;