diff options
author | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2015-08-17 11:16:27 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-05-06 02:31:31 -0700 |
commit | db610ee85447de413e56b7cee26175fcb6dbb04a (patch) | |
tree | a6a728bf82545558d5fd200d01b48ff4cce91af7 /rpc | |
parent | ef0db52bc55a51fe5e3856235aed0230b6a188fe (diff) |
remove unused variables
Cleaning dead initializations.
Change-Id: I53ae506593cd10441d61df3b2c9249544a7871f7
BUG: 1254067
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Reviewed-on: http://review.gluster.org/11932
Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/rpc-lib/src/rpc-clnt-ping.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.c b/rpc/rpc-lib/src/rpc-clnt-ping.c index a7ff866ac99..3eb7e90cb01 100644 --- a/rpc/rpc-lib/src/rpc-clnt-ping.c +++ b/rpc/rpc-lib/src/rpc-clnt-ping.c @@ -174,7 +174,6 @@ rpc_clnt_ping_cbk (struct rpc_req *req, struct iovec *iov, int count, xlator_t *this = NULL; rpc_clnt_connection_t *conn = NULL; call_frame_t *frame = NULL; - struct timespec timeout = {0, }; int unref = 0; if (!myframe) { @@ -264,7 +263,6 @@ rpc_clnt_start_ping (void *rpc_ptr) { struct rpc_clnt *rpc = NULL; rpc_clnt_connection_t *conn = NULL; - struct timespec timeout = {0, }; int frame_count = 0; int unref = 0; |