From: kshtsk Date: Sat, 20 Jul 2024 23:55:22 +0000 (+0000) Subject: msg/async/rdma: cleanup unused variables X-Git-Tag: testing/wip-vshankar-testing-20240723.143739-debug~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b647ec17fb8c65e65b29761191da255a1569e11;p=ceph-ci.git msg/async/rdma: cleanup unused variables Fixes: 2fb8be43fa2a758cc7934f7a82a48ad2d47d1112 Signed-off-by: kshtsk --- diff --git a/src/msg/async/rdma/RDMAConnectedSocketImpl.cc b/src/msg/async/rdma/RDMAConnectedSocketImpl.cc index 6c79dc54f31..c3433fef618 100644 --- a/src/msg/async/rdma/RDMAConnectedSocketImpl.cc +++ b/src/msg/async/rdma/RDMAConnectedSocketImpl.cc @@ -473,7 +473,6 @@ int RDMAConnectedSocketImpl::post_work_request(std::vector &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 &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];