Skip to content

Commit 58400ad

Browse files
committed
Cleanup unused code.
Signed-off-by: George Bosilca <[email protected]>
1 parent 27514c2 commit 58400ad

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

ompi/mca/pml/ob1/pml_ob1_isend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static inline int mca_pml_ob1_send_inline (const void *buf, size_t count,
143143
}
144144

145145
if (OPAL_UNLIKELY(OMPI_SUCCESS != rc)) {
146-
return rc;
146+
return rc;
147147
}
148148

149149
return (int) size;

opal/mca/btl/sm/btl_sm_send.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,4 @@ int mca_btl_sm_send(struct mca_btl_base_module_t *btl, struct mca_btl_base_endpo
7373
}
7474

7575
return OPAL_SUCCESS;
76-
77-
#if 0
78-
if (((frag->hdr->flags & MCA_BTL_SM_FLAG_SINGLE_COPY) ||
79-
!(frag->base.des_flags & MCA_BTL_DES_FLAGS_BTL_OWNERSHIP)) &&
80-
frag->base.des_cbfunc) {
81-
frag->base.des_flags |= MCA_BTL_DES_SEND_ALWAYS_CALLBACK;
82-
83-
return OPAL_SUCCESS;
84-
}
85-
86-
/* data is gone (from the pml's perspective). frag callback/release will
87-
happen later */
88-
return 1;
89-
#endif
9076
}

0 commit comments

Comments
 (0)