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

Steven Rostedt
2021-01-14T21:44:52Z

On Thu, 14 Jan 2021 13:28:27 -0800
trix@redhat.com 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@goodmis.org>

-- Steve