kernel/trace/trace.h: Remove duplicate header of trace_seq.h [Linux 5.2]

kernel/trace/trace.h: Remove duplicate header of trace_seq.h [Linux 5.2]

This Linux kernel change "kernel/trace/trace.h: Remove duplicate header of trace_seq.h" is included in the Linux 5.2 release. This change is authored by Jagadeesh Pagadala <jagdsh.linux [at] gmail.com> on Thu Mar 28 03:49:46 2019 +0530. The commit for this change in Linux stable tree is 4eebe38 (patch).

kernel/trace/trace.h: Remove duplicate header of trace_seq.h

Remove duplicate header which is included twice.

Link: http://lkml.kernel.org/r/1553725186-41442-1-git-send-email-jagdsh.linux@gmail.com

Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Jagadeesh Pagadala <jagdsh.linux@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 kernel/trace/trace.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 1974ce8..82c70b6 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -15,7 +15,6 @@
 #include <linux/trace_seq.h>
 #include <linux/trace_events.h>
 #include <linux/compiler.h>
-#include <linux/trace_seq.h>
 #include <linux/glob.h>

 #ifdef CONFIG_FTRACE_SYSCALLS

Leave a Reply

Your email address will not be published. Required fields are marked *