File tree Expand file tree Collapse file tree 3 files changed +2
-40
lines changed Expand file tree Collapse file tree 3 files changed +2
-40
lines changed Original file line number Diff line number Diff line change 1313 * Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
1414 * Copyright (c) 2015-2017 Research Organization for Information Science
1515 * and Technology (RIST). All rights reserved.
16+ * Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved.
1617 * $COPYRIGHT$
1718 *
1819 * Additional copyrights may follow
Original file line number Diff line number Diff line change @@ -17,34 +17,6 @@ dict_malloc_func ompi_coll_libnbc_dict_malloc = malloc;
1717dict_free_func ompi_coll_libnbc_dict_free = free ;
1818
1919
20- static inline dict_malloc_func
21- dict_set_malloc (dict_malloc_func func )
22- {
23- dict_malloc_func old = ompi_coll_libnbc_dict_malloc ;
24- ompi_coll_libnbc_dict_malloc = func ? func : malloc ;
25- return old ;
26- }
27-
28- static inline dict_free_func
29- dict_set_free (dict_free_func func )
30- {
31- dict_free_func old = ompi_coll_libnbc_dict_free ;
32- ompi_coll_libnbc_dict_free = func ? func : free ;
33- return old ;
34- }
35-
36- /*
37- * In comparing, we cannot simply subtract because that might result in signed
38- * overflow.
39- */
40- static inline int
41- dict_int_cmp (const void * k1 , const void * k2 )
42- {
43- const int * a = (int * )k1 , * b = (int * )k2 ;
44-
45- return (* a < * b ) ? -1 : (* a > * b ) ? +1 : 0 ;
46- }
47-
4820int
4921ompi_coll_libnbc_dict_uint_cmp (const void * k1 , const void * k2 )
5022{
Original file line number Diff line number Diff line change 1515 * Copyright (c) 2020 Amazon.com, Inc. or its affiliates.
1616 * All Rights reserved.
1717 * Copyright (c) 2022 IBM Corporation. All rights reserved
18+ * Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved.
1819 * $COPYRIGHT$
1920 *
2021 * Additional copyrights may follow
@@ -64,18 +65,6 @@ mca_pml_base_component_2_1_0_t mca_pml_cm_component = {
6465 .pmlm_finalize = mca_pml_cm_component_fini ,
6566};
6667
67- /* Array of send completion callback - one per send type
68- * These are called internally by the library when the send
69- * is completed from its perspective.
70- */
71- static void (* send_completion_callbacks [MCA_PML_BASE_SEND_SIZE ])
72- (struct mca_mtl_request_t * mtl_request ) =
73- { mca_pml_cm_send_request_completion ,
74- mca_pml_cm_send_request_completion ,
75- mca_pml_cm_send_request_completion ,
76- mca_pml_cm_send_request_completion ,
77- mca_pml_cm_send_request_completion } ;
78-
7968static int
8069mca_pml_cm_component_register (void )
8170{
You can’t perform that action at this time.
0 commit comments