From de52876407040a8cae9656ede9f66084d4cb45ac Mon Sep 17 00:00:00 2001 From: Sven Fischer Date: Sat, 17 Mar 2018 23:30:38 +0100 Subject: cleanup: xlator_t structure's 'client_latency' variable is not used - Removed unused struct member and its one time usage. - cleaned up wrong white space member 'client_latency' was not used otherwise since it was added by commit 07cc8679cdf3b29680f4f105d0222da168d8bfc1 Author: Kevin Vigor Date: Tue Mar 21 08:23:25 2017 -0700 Halo Replication feature for AFR translator Change-Id: Ibb0ea828d4090bbe8897f6af326b317884162a00 BUG: 1495153 Signed-off-by: Sven Fischer --- rpc/rpc-lib/src/rpc-clnt-ping.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'rpc/rpc-lib') diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.c b/rpc/rpc-lib/src/rpc-clnt-ping.c index 40077e7aefd..af4a993476e 100644 --- a/rpc/rpc-lib/src/rpc-clnt-ping.c +++ b/rpc/rpc-lib/src/rpc-clnt-ping.c @@ -205,8 +205,6 @@ rpc_clnt_ping_cbk (struct rpc_req *req, struct iovec *iov, int count, pthread_mutex_lock (&conn->lock); { - /* TODO: concerned people, check why this is used nowhere? */ - this->stats.client_latency = latency_msec; gf_log (THIS->name, GF_LOG_DEBUG, "Ping latency is %" PRIu64 "ms", latency_msec); -- cgit