Skip to content

Commit c10ad8f

Browse files
committed
minor cleanup
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 979e947 commit c10ad8f

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

ompi/attribute/attribute.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ do { \
322322
/* C style */ \
323323
else { \
324324
void *attr_val = translate_to_c(attribute); \
325-
/* TODO: NEED SUPPORT FOR ABI */ \
326325
err = (*((keyval_obj->delete_attr_fn).attr_##type##_delete_fn)) \
327326
((ompi_##type##_t *)object, \
328327
key, attr_val, \
@@ -382,7 +381,6 @@ do { \
382381
else { \
383382
void *in, *out; \
384383
in = translate_to_c(in_attr); \
385-
/* TODO: NEED SUPPORT FOR ABI */ \
386384
if ((err = (*((keyval_obj->copy_attr_fn).attr_##type##_copy_fn)) \
387385
((ompi_##type##_t *)old_object, key, keyval_obj->extra_state.c_ptr, \
388386
in, &out, &flag)) == MPI_SUCCESS) { \

ompi/attribute/attribute.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
#define OMPI_KEYVAL_PREDEFINED 0x0001
5151
#define OMPI_KEYVAL_F77 0x0002
5252
#define OMPI_KEYVAL_F77_INT 0x0004
53-
#define OMPI_KEYVAL_ABI 0x0008
5453

5554

5655
BEGIN_C_DECLS
@@ -137,7 +136,7 @@ struct ompi_attribute_keyval_t {
137136
copy/delete attribute functions
138137
properly and error checking */
139138
int attr_flag; /**< flag field: contains "OMPI_KEYVAL_PREDEFINED",
140-
"OMPI_KEYVAL_F77", "OMPI_KEYVAL_ABI", etc. */
139+
"OMPI_KEYVAL_F77", etc. */
141140
ompi_attribute_fn_ptr_union_t copy_attr_fn; /**< Copy function for the
142141
attribute */
143142
ompi_attribute_fn_ptr_union_t delete_attr_fn; /**< Delete function for the

ompi/mca/hook/comm_method/hook_comm_method_fns.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,6 @@ ompi_report_comm_methods(int called_from_location)
511511
free(p);
512512
}
513513

514-
#if 0
515514
MPI_Datatype mydt;
516515
MPI_Op myop;
517516
MPI_Type_contiguous(sizeof(comm_method_string_conversion_t), MPI_BYTE, &mydt);
@@ -522,7 +521,6 @@ ompi_report_comm_methods(int called_from_location)
522521
leader_comm->c_coll->coll_allreduce_module);
523522
MPI_Op_free(&myop);
524523
MPI_Type_free(&mydt);
525-
#endif
526524

527525
// Sort communication method string arrays after reduction
528526
qsort(&comm_method_string_conversion.str[1],

0 commit comments

Comments
 (0)