dma-contiguous: remove debug code to removed CONFIG_CMA_DEBUG
Subsystems (2)
PATCH 1/1 dma-contiguous: remove debug code to removed CONFIG_CMA_DEBUG
Commit acc2f3e42d4a ("mm/cma: drop CONFIG_CMA_DEBUG") removes the config CMA_DEBUG and the debug code in cma.c, but misses debug code in kernel/dma/contiguous.c.
Remove this dead code from this removed config option.
---
Andrew, please pick this minor clean-up patch of top of the commit above.
kernel/dma/contiguous.c | 6 ------ 1 file changed, 6 deletions(-)
kernel/dma/contiguous.c +0 -6
@@ -37,12 +37,6 @@#define pr_fmt (fmt) "cma: " fmt -#ifdef CONFIG_CMA_DEBUG -#ifndef DEBUG -# define DEBUG -#endif -#endif -#include <asm/page.h> #include <linux/memblock.h>
Signature · 1 line
2.17.1
Quoted 20 lines · Lukas Bulwahn
Commit
acc2f3e42d4a("mm/cma: dropCONFIG_CMA_DEBUG") removes the configCMA_DEBUGand the debug code incma.c, but misses debug code inkernel/dma/contiguous.c.Remove this dead code from this removed config option.
Signed-off-by Lukas Bulwahn <[email protected]>---
Andrew, please pick this minor clean-up patch of top of the commit above.kernel/dma/contiguous.c | 6 ------ 1 file changed, 6 deletions(-)kernel/dma/contiguous.c +0
-0@@ -37,12 +37,6 @@#define pr_fmt (fmt) "cma: " fmt
kernel/dma/contiguous.c line 42
Quoted 10 lines
kernel/dma/contiguous.c +0
-6-#ifdef CONFIG_CMA_DEBUG -#ifndef DEBUG -# define DEBUG -#endif -#endif -#include <asm/page.h> #include <linux/memblock.h>
Thanks,
added to the dma-mapping for-next branch.
Quoted 5 lines · Christoph Hellwig
Thanks,
added to the dma-mapping for-next branch.
Christoph, please drop this patch in your for-next branch if possible.
Andrew has picked this patch already and squashed it together with the commit "mm/cma: drop CONFIG_CMA_DEBUG" in the mm tree. So, you do not need to add it anymore.
Lukas
Quoted 4 lines · Lukas Bulwahn
Quoted 3 lines · Christoph Hellwig
Thanks,
Quoted 8 lines
Quoted 2 lines
added to the dma-mapping for-next branch.
Christoph, please drop this patch in your for-next branch if possible.
Andrew has picked this patch already and squashed it together with the commit "mm/cma: drop
CONFIG_CMA_DEBUG" in the mm tree. So, you do not need to add it anymore.
Ok, I'll drop it.