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 13
13
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
14
14
* Copyright (c) 2015-2017 Research Organization for Information Science
15
15
* and Technology (RIST). All rights reserved.
16
+ * Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved.
16
17
* $COPYRIGHT$
17
18
*
18
19
* 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;
17
17
dict_free_func ompi_coll_libnbc_dict_free = free ;
18
18
19
19
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
-
48
20
int
49
21
ompi_coll_libnbc_dict_uint_cmp (const void * k1 , const void * k2 )
50
22
{
Original file line number Diff line number Diff line change 15
15
* Copyright (c) 2020 Amazon.com, Inc. or its affiliates.
16
16
* All Rights reserved.
17
17
* Copyright (c) 2022 IBM Corporation. All rights reserved
18
+ * Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved.
18
19
* $COPYRIGHT$
19
20
*
20
21
* Additional copyrights may follow
@@ -64,18 +65,6 @@ mca_pml_base_component_2_1_0_t mca_pml_cm_component = {
64
65
.pmlm_finalize = mca_pml_cm_component_fini ,
65
66
};
66
67
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
-
79
68
static int
80
69
mca_pml_cm_component_register (void )
81
70
{
You can’t perform that action at this time.
0 commit comments