summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-rpc-fops_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client-rpc-fops_v2.c')
-rw-r--r--xlators/protocol/client/src/client-rpc-fops_v2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/protocol/client/src/client-rpc-fops_v2.c b/xlators/protocol/client/src/client-rpc-fops_v2.c
index dc5b8d4..6dd3a91 100644
--- a/xlators/protocol/client/src/client-rpc-fops_v2.c
+++ b/xlators/protocol/client/src/client-rpc-fops_v2.c
@@ -803,9 +803,6 @@ client4_0_setxattr_cbk (struct rpc_req *req, struct iovec *iov, int count,
}
xdr_to_dict (&rsp.xdata, &xdata);
- if (ret < 0)
- goto out;
-
out:
op_errno = gf_error_to_errno (rsp.op_errno);
if (rsp.op_ret == -1) {
@@ -3724,9 +3721,6 @@ unwind:
if (rsp_iobuf)
iobuf_unref (rsp_iobuf);
- if (rsp_iobref)
- iobref_unref (rsp_iobref);
-
CLIENT_STACK_UNWIND (readv, frame, -1, op_errno, NULL, 0, NULL, NULL, NULL);
GF_FREE (req.xdata.pairs.pairs_val);