summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index bc67bcd055a..422dad2a694 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -153,8 +153,6 @@ glusterfs_ctx_defaults_init (glusterfs_ctx_t *ctx)
LOCK_INIT (&pool->lock);
ctx->pool = pool;
- LOCK_INIT (&ctx->lock);
-
cmd_args = &ctx->cmd_args;
INIT_LIST_HEAD (&cmd_args->xlator_options);