diff options
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r-- | xlators/cluster/afr/src/afr-inode-write.c | 1 | ||||
-rw-r--r-- | xlators/cluster/afr/src/afr-transaction.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c index 200b420f5f0..3da34644500 100644 --- a/xlators/cluster/afr/src/afr-inode-write.c +++ b/xlators/cluster/afr/src/afr-inode-write.c @@ -362,7 +362,6 @@ afr_writev_wind_cbk (call_frame_t *frame, void *cookie, xlator_t *this, call_frame_t *fop_frame = NULL; int child_index = (long) cookie; int call_count = -1; - int ret = 0; local = frame->local; diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c index db7c6dbd2b0..c0ecd8520f3 100644 --- a/xlators/cluster/afr/src/afr-transaction.c +++ b/xlators/cluster/afr/src/afr-transaction.c @@ -1231,7 +1231,6 @@ afr_pre_op_writev_cbk (call_frame_t *frame, void *cookie, xlator_t *this, void *data, dict_t *xdata) { afr_local_t *local = NULL; - afr_private_t *priv = NULL; call_frame_t *fop_frame = NULL; default_args_cbk_t *write_args_cbk = NULL; compound_args_cbk_t *args_cbk = data; @@ -1240,7 +1239,6 @@ afr_pre_op_writev_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int i = 0; local = frame->local; - priv = this->private; child_index = (long) cookie; if (local->pre_op_compat) @@ -1387,15 +1385,12 @@ afr_post_op_unlock_cbk (call_frame_t *frame, void *cookie, xlator_t *this, { afr_local_t *local = NULL; afr_private_t *priv = NULL; - compound_args_cbk_t *args_cbk = data; int call_count = -1; afr_internal_lock_t *int_lock = NULL; - afr_inodelk_t *inodelk = NULL; int32_t child_index = (long)cookie; int i = 0; local = frame->local; - priv = this->private; child_index = (long) cookie; local = frame->local; |