pmem / rpma

Remote Persistent Memory Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redundant code shall be remove from rpma_conn_req_destroy and rpma_conn_req_reject

grom72 opened this issue · comments

The following code:

	int ret = rpma_cq_delete(&req->rcq);

	int ret2 = rpma_cq_delete(&req->cq);
	if (!ret && ret2)
		ret = ret2;

shall be moved from rpma_conn_req_destroy and rpma_conn_req_reject to rpma_conn_req_delete

Fixed by #1730