Remove some unused variables.
This commit was SVN r28726.
Этот коммит содержится в:
родитель
8b01c3da33
Коммит
dc9352faf6
@ -942,7 +942,6 @@ ompi_osc_rdma_sendreq_recv_accum_long_cb(ompi_request_t *request)
|
||||
(ompi_osc_rdma_longreq_t*) request->req_complete_cb_data;
|
||||
ompi_osc_rdma_send_header_t *header = longreq->req_basereq.req_sendhdr;
|
||||
void *payload = (void*) (header + 1);
|
||||
int ret;
|
||||
ompi_osc_rdma_module_t *module = longreq->req_module;
|
||||
unsigned char *target_buffer =
|
||||
(unsigned char*) module->m_win->w_baseptr +
|
||||
@ -986,7 +985,7 @@ ompi_osc_rdma_sendreq_recv_accum_long_cb(ompi_request_t *request)
|
||||
OBJ_DESTRUCT(&convertor);
|
||||
} else {
|
||||
/* copy the data from the temporary buffer into the user window */
|
||||
ret = ompi_osc_base_process_op(target_buffer,
|
||||
(void)ompi_osc_base_process_op(target_buffer,
|
||||
payload,
|
||||
header->hdr_msg_length,
|
||||
longreq->req_datatype,
|
||||
|
@ -629,7 +629,6 @@ ompi_osc_rdma_passive_lock(ompi_osc_rdma_module_t *module,
|
||||
int32_t lock_type)
|
||||
{
|
||||
bool send_ack = false;
|
||||
int ret = OMPI_SUCCESS;
|
||||
ompi_proc_t *proc = ompi_comm_peer_lookup( module->m_comm, origin );
|
||||
ompi_osc_rdma_pending_lock_t *new_pending;
|
||||
|
||||
@ -665,8 +664,6 @@ ompi_osc_rdma_passive_lock(ompi_osc_rdma_module_t *module,
|
||||
new_pending->lock_type = lock_type;
|
||||
opal_list_append(&(module->m_locks_pending), &(new_pending->super));
|
||||
}
|
||||
} else {
|
||||
ret = OMPI_ERROR;
|
||||
}
|
||||
OPAL_THREAD_UNLOCK(&(module->m_lock));
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user