public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opemsm code cleanup
@ 2009-10-27 17:43 Stan C. Smith
       [not found] ` <394674AC37584063BC9059F30CB083C9-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Stan C. Smith @ 2009-10-27 17:43 UTC (permalink / raw)
  To: 'Sasha Khapyorsky'; +Cc: linux-rdma, ofw


Cleanup code by removing if statement which does nothing.

Signed-off-by: stan smith <stan.smith@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);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-28 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27 17:43 [PATCH] opemsm code cleanup Stan C. Smith
     [not found] ` <394674AC37584063BC9059F30CB083C9-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2009-10-28 16:15   ` Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox