summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/xlator.c')
-rw-r--r--libglusterfs/src/xlator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
index cd71d5fe384..22e3e041fd9 100644
--- a/libglusterfs/src/xlator.c
+++ b/libglusterfs/src/xlator.c
@@ -812,7 +812,6 @@ xlator_mem_acct_init (xlator_t *xl, int num_types)
if (!xl->mem_acct) {
return -1;
}
- memset (xl->mem_acct, 0, sizeof(struct mem_acct));
xl->mem_acct->num_types = num_types;
GF_ATOMIC_INIT (xl->mem_acct->refcnt, 1);