diff options
author | arao <arao@redhat.com> | 2015-02-12 12:49:33 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-10 06:37:00 +0000 |
commit | 2b9a4799ef6caaeeca438c019f4a1f6cf423324a (patch) | |
tree | 20602951c2e14a6350e94ed665e1e7dc3224075a | |
parent | 10ed06a5a1ec396bb8fc7cc1fa8182d93bf7dbb5 (diff) |
features/quota: Fixing Logically dead code
CID: 1134007
The code never reaches the condition check on retlen in
ret label, hence removing the dead code.
Change-Id: Ia0108b69489bb78a2561ff8da6e00685f472ae82
BUG: 789278
Signed-off-by: arao <arao@redhat.com>
Reviewed-on: http://review.gluster.org/9644
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r-- | xlators/features/quota/src/quotad-aggregator.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xlators/features/quota/src/quotad-aggregator.c b/xlators/features/quota/src/quotad-aggregator.c index 681fea4cb74..6f2f6e8a7b0 100644 --- a/xlators/features/quota/src/quotad-aggregator.c +++ b/xlators/features/quota/src/quotad-aggregator.c @@ -57,11 +57,6 @@ quotad_serialize_reply (rpcsvc_request_t *req, void *arg, struct iovec *outmsg, } outmsg->iov_len = retlen; ret: - if (retlen == -1) { - iobuf_unref (iob); - iob = NULL; - } - return iob; } |