Skip to content

Commit

Permalink
ob1: change an OPAL_UNLIKELY to OPAL_LIKELY
Browse files Browse the repository at this point in the history
Per
924d39e#commitcomment-8378266,
this OPAN_UNLIKELY should really be OPAL_LIKELY.

(cherry picked from commit 7a5b2e9)
  • Loading branch information
jsquyres committed Oct 31, 2014
1 parent 7810b96 commit 527041d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/mca/pml/ob1/pml_ob1_isend.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ int mca_pml_ob1_send(void *buf,
PERUSE_SEND);

MCA_PML_OB1_SEND_REQUEST_START_W_SEQ(sendreq, endpoint, seqn, rc);
if (OPAL_UNLIKELY(rc == OMPI_SUCCESS)) {
if (OPAL_LIKELY(rc == OMPI_SUCCESS)) {
ompi_request_wait_completion(&sendreq->req_send.req_base.req_ompi);

rc = sendreq->req_send.req_base.req_ompi.req_status.MPI_ERROR;
Expand Down

0 comments on commit 527041d

Please sign in to comment.