Skip to content

Commit 3f85cbc

Browse files
committed
PR feedback
Signed-off-by: Howard Pritchard <[email protected]>
1 parent c0f558a commit 3f85cbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/btl/ofi/btl_ofi_module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,13 @@ int mca_btl_ofi_reg_mem(void *reg_data, void *base, size_t size,
241241
return OPAL_ERR_OUT_OF_RESOURCE;
242242
}
243243

244-
if (true == btl->use_fi_mr_bind) {
244+
if (btl->use_fi_mr_bind) {
245245
BTL_VERBOSE(("binding mr to endpoint"));
246246
rc = fi_mr_bind(ur->ur_mr, &btl->ofi_endpoint->fid, 0ULL);
247247
if (FI_SUCCESS != rc) {
248248
return OPAL_ERR_OUT_OF_RESOURCE;
249249
}
250-
rc = fi_mr_enable(ur->ur_mr);
250+
rc = fi_mr_enable(ur->ur_mr);
251251
if (FI_SUCCESS != rc) {
252252
return OPAL_ERR_OUT_OF_RESOURCE;
253253
}

0 commit comments

Comments
 (0)