From e7c4f1ca6402f31ce49d5da2adc79de45bb0623d Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 12 Apr 2007 04:58:12 +0000 Subject: [PATCH] Remove some unused code and correct the finalize function (cancel the pending receive request). This commit was SVN r14324. --- orte/mca/iof/svc/iof_svc_component.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/orte/mca/iof/svc/iof_svc_component.c b/orte/mca/iof/svc/iof_svc_component.c index 185b375009..21e9f0f4aa 100644 --- a/orte/mca/iof/svc/iof_svc_component.c +++ b/orte/mca/iof/svc/iof_svc_component.c @@ -74,18 +74,6 @@ orte_iof_svc_component_t mca_iof_svc_component = { } }; -#if 0 -static char* orte_iof_svc_param_register_string( - const char* param_name, - const char* default_value) -{ - char *param_value; - int id = mca_base_param_register_string("iof","svc",param_name,NULL,default_value); - mca_base_param_lookup_string(id, ¶m_value); - return param_value; -} -#endif - static int orte_iof_svc_param_register_int( const char* param_name, int default_value) @@ -147,6 +135,7 @@ static orte_iof_base_module_t* orte_iof_svc_init(int* priority, bool *allow_multi_user_threads, bool *have_hidden_threads) { int rc; + if (false == orte_process_info.seed) { return NULL; } @@ -186,6 +175,7 @@ orte_iof_svc_init(int* priority, bool *allow_multi_user_threads, bool *have_hidd int orte_iof_svc_finalize(void) { + orte_rml.recv_cancel(ORTE_NAME_WILDCARD, ORTE_RML_TAG_IOF_SVC ); orte_rml.del_exception_handler(orte_iof_svc_exception_handler); return ORTE_SUCCESS;