Skip to contentSkip to conversation

opemsm code cleanup

PATCH In review Stan C. Smith 2 participants 2 messages Oct 27, 2009 – Oct 28, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opemsm code cleanup

Cleanup code by removing if statement which does nothing.

opensm/opensm/osm_vl15intf.c +0 -3
index 9e43a9c..ee9626f 100644
@@ -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);

A message that is not in the archive (sent off-list or not yet received): 394674AC37584063BC9059F30CB083C9-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org

#2 lore raw
Quoted 4 lines · Stan C. Smith

Cleanup code by removing if statement which does nothing.

Whitespaces are mangled in the patch. Applied by hands. Thanks.

Sasha

Quoted 17 lines
opensm/opensm/osm_vl15intf.c +0 -4
index 9e43a9c..ee9626f 100644
@@ -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);
 
--
Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html