summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/lib/src/gf-changelog-rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog/lib/src/gf-changelog-rpc.c')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-rpc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog-rpc.c b/xlators/features/changelog/lib/src/gf-changelog-rpc.c
index c2a4c044d23..270632bc71b 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-rpc.c
+++ b/xlators/features/changelog/lib/src/gf-changelog-rpc.c
@@ -19,17 +19,11 @@ int
gf_changelog_rpc_notify (struct rpc_clnt *rpc,
void *mydata, rpc_clnt_event_t event, void *data)
{
- xlator_t *this = NULL;
-
- this = mydata;
-
switch (event) {
case RPC_CLNT_CONNECT:
rpc_clnt_set_connected (&rpc->conn);
break;
case RPC_CLNT_DISCONNECT:
- rpc_clnt_unset_connected (&rpc->conn);
- break;
case RPC_CLNT_MSG:
case RPC_CLNT_DESTROY:
break;