summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
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/protocol
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/protocol')
-rw-r--r--xlators/protocol/client/src/client-mem-types.h1
-rw-r--r--xlators/protocol/server/src/server-mem-types.h6
2 files changed, 0 insertions, 7 deletions
diff --git a/xlators/protocol/client/src/client-mem-types.h b/xlators/protocol/client/src/client-mem-types.h
index bf01a90abb9..715f981c31e 100644
--- a/xlators/protocol/client/src/client-mem-types.h
+++ b/xlators/protocol/client/src/client-mem-types.h
@@ -19,7 +19,6 @@ enum gf_client_mem_types_ {
gf_client_mt_clnt_fdctx_t,
gf_client_mt_clnt_lock_t,
gf_client_mt_clnt_fd_lk_local_t,
- gf_client_mt_clnt_args_t,
gf_client_mt_compound_req_t,
gf_client_mt_clnt_lock_request_t,
gf_client_mt_end,
diff --git a/xlators/protocol/server/src/server-mem-types.h b/xlators/protocol/server/src/server-mem-types.h
index 4b341e53845..c4679c5587d 100644
--- a/xlators/protocol/server/src/server-mem-types.h
+++ b/xlators/protocol/server/src/server-mem-types.h
@@ -15,15 +15,9 @@
enum gf_server_mem_types_ {
gf_server_mt_server_conf_t = gf_common_mt_end + 1,
- gf_server_mt_resolv_comp_t,
gf_server_mt_state_t,
- gf_server_mt_locker_t,
- gf_server_mt_lock_table_t,
- gf_server_mt_conn_t,
gf_server_mt_dirent_rsp_t,
gf_server_mt_rsp_buf_t,
- gf_server_mt_volfile_ctx_t,
- gf_server_mt_timer_data_t,
gf_server_mt_setvolume_rsp_t,
gf_server_mt_lock_mig_t,
gf_server_mt_compound_rsp_t,