Re: [PATCH v2] x86 : remove definition of DEBUG

From: Steven Rostedt
Date: Thu Jan 14 2021 - 16:44:38 EST


On Thu, 14 Jan 2021 13:28:27 -0800
trix@xxxxxxxxxx wrote:

> diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
> index bd7aff5c51f7..cd768dafca9e 100644
> --- a/arch/x86/mm/mmio-mod.c
> +++ b/arch/x86/mm/mmio-mod.c
> @@ -10,8 +10,6 @@
>
> #define pr_fmt(fmt) "mmiotrace: " fmt
>
> -#define DEBUG 1

Seems to only be used for printing the pr_debug() functions.

> -
> #include <linux/moduleparam.h>
> #include <linux/debugfs.h>
> #include <linux/slab.h>

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve