Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/opensm/opensm/osm_lid_mgr.c b/opensm/opensm/osm_lid_mgr.c
index 34625ba..64157e0 100644
--- a/opensm/opensm/osm_lid_mgr.c
+++ b/opensm/opensm/osm_lid_mgr.c
@@ -1228,9 +1228,8 @@ int osm_lid_mgr_process_subnet(IN osm_lid_mgr_t * p_mgr)
                        min_lid_ho, max_lid_ho);
 
                /* the proc returns the fact it sent a set port info */
-               if (lid_mgr_set_physp_pi(p_mgr, p_port, p_port->p_physp,
-                                        cl_hton16(min_lid_ho)))
-                       ret = -1;
+               ret = lid_mgr_set_physp_pi(p_mgr, p_port, p_port->p_physp,
+                                          cl_hton16(min_lid_ho));
        }                       /* all ports */
 
        /* store the guid to lid table in persistent db */
_______________________________________________
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

Reply via email to