[ofw] [PATCH] opemsm code cleanup

Stan C. Smith stan.smith at intel.com
Tue Oct 27 10:43:38 PDT 2009


Cleanup code by removing if statement which does nothing.

Signed-off-by: stan smith <stan.smith at intel.com>

diff --git a/opensm/opensm/osm_vl15intf.c b/opensm/opensm/osm_vl15intf.c
index 9e43a9c..ee9626f 100644
--- a/opensm/opensm/osm_vl15intf.c
+++ b/opensm/opensm/osm_vl15intf.c
@@ -271,9 +271,6 @@ ib_api_status_t osm_vl15_init(IN osm_vl15_t * p_vl, IN osm_vendor_t * p_vend,
         */
        status = cl_thread_init(&p_vl->poller, vl15_poller, p_vl,
                                "opensm poller");
-       if (status != IB_SUCCESS)
-               goto Exit;
-
 Exit:
        OSM_LOG_EXIT(p_log);
        return (status);




More information about the ofw mailing list