diff --git a/ompi/mca/pml/ob1/pml_ob1.c b/ompi/mca/pml/ob1/pml_ob1.c index eac927c489..3d38bd61b5 100644 --- a/ompi/mca/pml/ob1/pml_ob1.c +++ b/ompi/mca/pml/ob1/pml_ob1.c @@ -1029,16 +1029,3 @@ clean: } #endif /* OPAL_ENABLE_FT_CR */ -int mca_pml_ob1_com_btl_comp(const void *v1, const void *v2) -{ - const mca_pml_ob1_com_btl_t *b1 = (const mca_pml_ob1_com_btl_t *) v1; - const mca_pml_ob1_com_btl_t *b2 = (const mca_pml_ob1_com_btl_t *) v2; - - if(b1->bml_btl->btl_weight < b2->bml_btl->btl_weight) - return 1; - if(b1->bml_btl->btl_weight > b2->bml_btl->btl_weight) - return -1; - - return 0; -} -