From c9408e1bbfc4e2a85080bc6410bd2c9cdf259534 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Thu, 21 Mar 2019 19:51:30 +0200 Subject: mem-pool: remove dead code. Change-Id: I3bbda719027b45e1289db2e6a718627141bcbdc8 updates: bz#1193929 Signed-off-by: Yaniv Kaul --- libglusterfs/src/glusterfs/mem-pool.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'libglusterfs/src/glusterfs/mem-pool.h') 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 */ -- cgit