summaryrefslogtreecommitdiffstats
path: root/xlators/features/leases
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-11-29 22:27:59 +0200
committerAmar Tumballi <amarts@redhat.com>2018-11-30 11:51:18 +0000
commit98a672f5046620f5fc751ea803e0dfa0bf4e18d3 (patch)
tree36229652444b5be54d101d35d8cf8a6e7c3baa65 /xlators/features/leases
parente74d997f0d7eeb91fe6b5f0f0c3969bf4ac53f9f (diff)
Multiple xlator .h files: remove unused private gf_* memory types.
It seems there were quite a few unused enums (that in turn cause unndeeded memory allocation) in some xlators. I've removed them, hopefully not causing any damage. Compile-tested only! updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com> Change-Id: I8252bd763dc1506e2d922496d896cd2fc0886ea7
Diffstat (limited to 'xlators/features/leases')
-rw-r--r--xlators/features/leases/src/leases-mem-types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/features/leases/src/leases-mem-types.h b/xlators/features/leases/src/leases-mem-types.h
index 59d3cbaf0b3..3a646cbc316 100644
--- a/xlators/features/leases/src/leases-mem-types.h
+++ b/xlators/features/leases/src/leases-mem-types.h
@@ -14,8 +14,7 @@
#include "mem-types.h"
enum gf_leases_mem_types_ {
- gf_leases_mt_conf_t = gf_common_mt_end + 1,
- gf_leases_mt_private_t,
+ gf_leases_mt_private_t = gf_common_mt_end + 1,
gf_leases_mt_lease_client_t,
gf_leases_mt_lease_inode_t,
gf_leases_mt_fd_ctx_t,