Skip to content

Commit

Permalink
UCP/UCS/UCT: Removing redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Jun 3, 2019
1 parent 8d80c26 commit 5a5c2c8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/ucp/rma/rma.inl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ static inline ucs_status_t ucp_rma_wait(ucp_worker_h worker, void *user_req,
req = (ucp_request_t*)user_req - 1;
do {
ucp_worker_progress(worker);
status = ucp_request_check_status(user_req);
} while (!(req->flags & UCP_REQUEST_FLAG_COMPLETED));
status = req->status;
ucp_request_release(user_req);
Expand Down
1 change: 0 additions & 1 deletion src/ucs/sys/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ static void ucs_sysv_shmget_format_error(size_t alloc_size, int flags,
out:
if (!error_detected) {
snprintf(p, endp - p, ", please check shared memory limits by 'ipcs -l'");
p += strlen(p);
}
}

Expand Down
1 change: 0 additions & 1 deletion src/uct/ib/base/ib_iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ void uct_ib_address_unpack(const uct_ib_address_t *ib_addr, uint16_t *lid,

if (ib_addr->flags & UCT_IB_ADDRESS_FLAG_SUBNET64) {
gid->global.subnet_prefix = *(uint64_t*) ptr;
ptr += sizeof(uint64_t);
}
}

Expand Down

0 comments on commit 5a5c2c8

Please sign in to comment.