]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rdma: Removing unused variable perf_counter 16783/head
authoramitkuma <amitkuma@redhat.com>
Thu, 3 Aug 2017 16:41:42 +0000 (22:11 +0530)
committeramitkuma <amitkuma@redhat.com>
Thu, 3 Aug 2017 16:41:42 +0000 (22:11 +0530)
Fixes:

1414515 Uninitialized pointer field
CID 1414515 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
22. uninit_member: Non-static class member perf_counter is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/msg/async/rdma/RDMAStack.h

index 27373fb6487ae425754b3ebe571cc7c4a2e9f000..3c2d90094d140ad374d8926896ceabb57df36592 100644 (file)
@@ -300,7 +300,6 @@ class RDMAServerSocketImpl : public ServerSocketImpl {
 class RDMAStack : public NetworkStack {
   vector<std::thread> threads;
   RDMADispatcher *dispatcher;
-  PerfCounters *perf_counter;
 
   std::atomic<bool> fork_finished = {false};