From 2ab575778d3c0c500e798ae83a41e700d118a6be Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Wed, 15 Apr 2020 15:03:03 +0300 Subject: core, cli, quota: cleanup malloc debugging and stats 1. Since mcheck()/mprobe() etc. features are no longer used, mcheck.h isn't required to be included. 2. Since mallinfo() is used to obtain malloc statistics, it should be detected instead of malloc_stats(). Change-Id: I54c7d2ee568e06ab29938efc01d1a2153c5bd5db Signed-off-by: Dmitry Antipov Fixes: #1172 --- xlators/features/quota/src/quota-enforcer-client.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xlators') diff --git a/xlators/features/quota/src/quota-enforcer-client.c b/xlators/features/quota/src/quota-enforcer-client.c index 097439d86d6..480d64ade27 100644 --- a/xlators/features/quota/src/quota-enforcer-client.c +++ b/xlators/features/quota/src/quota-enforcer-client.c @@ -32,12 +32,6 @@ #include #endif -#ifdef HAVE_MALLOC_STATS -#ifdef DEBUG -#include -#endif -#endif - #include "quota.h" #include "quota-messages.h" -- cgit