summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quotad-aggregator.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-06-26 11:29:19 +0530
committerVijay Bellur <vbellur@redhat.com>2014-06-30 03:00:21 -0700
commitcfd880b0745be62620299cc49d85c7070767bb6e (patch)
tree3c966499c2e4846d10bb01ee537533dc2f89cb4c /xlators/features/quota/src/quotad-aggregator.c
parent13542be377fb6e7d664d36dc654659ebf2ca6051 (diff)
quotad: Remove dead code
client_t is created by server xlator for managing connection related resources. Quotad doesn't do that. So no need to handle anything related to it. Change-Id: I83e6f9e1c57458d60529dc62086bb63642932d49 BUG: 1113403 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/8180 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/quota/src/quotad-aggregator.c')
-rw-r--r--xlators/features/quota/src/quotad-aggregator.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xlators/features/quota/src/quotad-aggregator.c b/xlators/features/quota/src/quotad-aggregator.c
index a37a3728b55..2c2b8589356 100644
--- a/xlators/features/quota/src/quotad-aggregator.c
+++ b/xlators/features/quota/src/quotad-aggregator.c
@@ -112,12 +112,8 @@ ret:
quotad_aggregator_free_state (state);
}
- if (frame) {
- if (frame->root->client)
- gf_client_unref (frame->root->client);
-
+ if (frame)
STACK_DESTROY (frame->root);
- }
if (new_iobref) {
iobref_unref (iobref);