From 9848b4d838dc8434bd6530ed9d56489ff036e7cd Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Tue, 20 Aug 2019 17:00:39 -0700 Subject: [PATCH] mm: cma: Reduce dmesg spam CONFIG_CMA_DEBUG was #defining DEBUG, which has the side effect of changing the behavior of pr_debug statements to always print into the dmesg log, as opposed to printing only if they are enabled via dynamic debug. Log etiquette indicates that messages should only be printed for error conditions. Change-Id: I5eebc1060618a3abc87a7f85ae770505c991c017 Signed-off-by: Patrick Daly Signed-off-by: Isaac J. Manjarres --- mm/cma.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mm/cma.c b/mm/cma.c index 0419367a47ce..04eb10ef413a 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -14,11 +14,6 @@ #define pr_fmt(fmt) "cma: " fmt -#ifdef CONFIG_CMA_DEBUG -#ifndef DEBUG -# define DEBUG -#endif -#endif #define CREATE_TRACE_POINTS #include