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>
This commit is contained in:
parent
10ed06a5a1
commit
2b9a4799ef
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user