From c5209aad9332eca19f0342a3c149374be7312773 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Wed, 3 May 2006 18:17:00 +0000 Subject: [PATCH] The return value is random. Let's return something that make sense. This commit was SVN r9805. --- ompi/mca/osc/pt2pt/osc_pt2pt_component.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ompi/mca/osc/pt2pt/osc_pt2pt_component.c b/ompi/mca/osc/pt2pt/osc_pt2pt_component.c index 702ee4518c..790aeec5b7 100644 --- a/ompi/mca/osc/pt2pt/osc_pt2pt_component.c +++ b/ompi/mca/osc/pt2pt/osc_pt2pt_component.c @@ -160,8 +160,6 @@ int ompi_osc_pt2pt_component_init(bool enable_progress_threads, bool enable_mpi_threads) { - int ret; - /* we can run with either threads or not threads (may not be able to do win locks)... */ mca_osc_pt2pt_component.p2p_c_have_progress_threads = @@ -191,7 +189,7 @@ ompi_osc_pt2pt_component_init(bool enable_progress_threads, OBJ_CLASS(ompi_osc_pt2pt_longreq_t), 1, -1, 1); - return ret; + return OMPI_SUCCESS; }