Skip to content

Commit 901f7aa

Browse files
committed
pml/ob1: remove priority check
This commit removes code that checks the ob1 priority vs the previous priority. The previous priority is meaningless here and may only cause ob1 to disable itself when it shouldn't. (cherry picked from open-mpi/ompi@bedd802) Signed-off-by: Nathan Hjelm <[email protected]>
1 parent d68ca89 commit 901f7aa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ompi/mca/pml/ob1/pml_ob1_component.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* All rights reserved.
1313
* Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved.
1414
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved
15-
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
15+
* Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights
1616
* reserved.
1717
* $COPYRIGHT$
1818
*
@@ -248,10 +248,6 @@ mca_pml_ob1_component_init( int* priority,
248248
opal_output_verbose( 10, mca_pml_ob1_output,
249249
"in ob1, my priority is %d\n", mca_pml_ob1.priority);
250250

251-
if((*priority) > mca_pml_ob1.priority) {
252-
*priority = mca_pml_ob1.priority;
253-
return NULL;
254-
}
255251
*priority = mca_pml_ob1.priority;
256252

257253
allocator_component = mca_allocator_component_lookup( mca_pml_ob1.allocator_name );

0 commit comments

Comments
 (0)