summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/protocol/client/src/client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c
index a48104fd467..0287944ec98 100644
--- a/xlators/protocol/client/src/client.c
+++ b/xlators/protocol/client/src/client.c
@@ -148,14 +148,11 @@ client_grace_timeout (void *data)
int ver = 0;
xlator_t *this = NULL;
struct clnt_conf *conf = NULL;
- struct rpc_clnt *rpc = NULL;
GF_VALIDATE_OR_GOTO ("client", data, out);
this = THIS;
- rpc = (struct rpc_clnt *) data;
-
conf = (struct clnt_conf *) this->private;
pthread_mutex_lock (&conf->lock);
@@ -2211,7 +2208,6 @@ client_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event,
void *data)
{
xlator_t *this = NULL;
- char *handshake = NULL;
clnt_conf_t *conf = NULL;
int ret = 0;