mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
msg/async/rdma: cleanup unused variables
Fixes: 2fb8be43fa
Signed-off-by: kshtsk <kyrylo.shatskyy@clyso.com>
This commit is contained in:
parent
ef1a6eb41e
commit
3b647ec17f
@ -473,7 +473,6 @@ int RDMAConnectedSocketImpl::post_work_request(std::vector<Chunk*> &tx_buffers)
|
||||
ibv_send_wr iswr[tx_buffers.size()];
|
||||
uint32_t current_swr = 0;
|
||||
ibv_send_wr* pre_wr = NULL;
|
||||
uint32_t num = 0;
|
||||
|
||||
// FIPS zeroization audit 20191115: these memsets are not security related.
|
||||
memset(iswr, 0, sizeof(iswr));
|
||||
@ -492,7 +491,6 @@ int RDMAConnectedSocketImpl::post_work_request(std::vector<Chunk*> &tx_buffers)
|
||||
iswr[current_swr].opcode = IBV_WR_SEND;
|
||||
iswr[current_swr].send_flags = IBV_SEND_SIGNALED;
|
||||
|
||||
num++;
|
||||
worker->perf_logger->inc(l_msgr_rdma_tx_bytes, isge[current_sge].length);
|
||||
if (pre_wr)
|
||||
pre_wr->next = &iswr[current_swr];
|
||||
|
Loading…
Reference in New Issue
Block a user