diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2019-03-21 19:51:30 +0200 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2019-06-28 12:49:37 +0200 |
commit | c639b94d2b2b55f15435fe49257184b4a2aaaed1 (patch) | |
tree | 426f2dd4ec88787ed990f0ecd216d9d09c4c5800 /libglusterfs/src/glusterfs/mem-pool.h | |
parent | 5de46c74b281e6d0cf7168f8869bd179e7fff489 (diff) |
mem-pool: remove dead code.
Backport of:
> Change-Id: I3bbda719027b45e1289db2e6a718627141bcbdc8
> BUG: 1193929
> Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Change-Id: I3bbda719027b45e1289db2e6a718627141bcbdc8
updates: bz#1724210
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs/mem-pool.h')
-rw-r--r-- | libglusterfs/src/glusterfs/mem-pool.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libglusterfs/src/glusterfs/mem-pool.h b/libglusterfs/src/glusterfs/mem-pool.h index 90905fb6ba4..0250b590fd9 100644 --- a/libglusterfs/src/glusterfs/mem-pool.h +++ b/libglusterfs/src/glusterfs/mem-pool.h @@ -308,15 +308,4 @@ mem_pool_destroy(struct mem_pool *pool); void gf_mem_acct_enable_set(void *ctx); -/* hit will be set to : - * _gf_true if the memory is served from mem pool - * _gf_false if the requested size was not present in mem pool and hence - * std alloc'd. - */ -void * -mem_pool_get(unsigned long sizeof_type, gf_boolean_t *hit); - -void * -mem_pool_get0(unsigned long sizeof_type, gf_boolean_t *hit); - #endif /* _MEM_POOL_H */ |