* [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[parent not found: <394674AC37584063BC9059F30CB083C9-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>]
* Re: [PATCH] opemsm code cleanup [not found] ` <394674AC37584063BC9059F30CB083C9-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org> @ 2009-10-28 16:15 ` Sasha Khapyorsky 0 siblings, 0 replies; 2+ messages in thread From: Sasha Khapyorsky @ 2009-10-28 16:15 UTC (permalink / raw) To: Stan C. Smith Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, ofw-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5 On 10:43 Tue 27 Oct , Stan C. Smith wrote: > > Cleanup code by removing if statement which does nothing. > > Signed-off-by: stan smith <stan.smith-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Whitespaces are mangled in the patch. Applied by hands. Thanks. Sasha > > 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); > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [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