tracing: not necessary re-define DEFINE_EVENT_PRINT
authorWei Yang <richard.weiyang@linux.alibaba.com>
Fri, 12 Jun 2020 09:28:42 +0000 (17:28 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 30 Jun 2020 18:29:32 +0000 (14:29 -0400)
The definition of DEFINE_EVENT_PRINT is not changed after previous one,
so not necessary to re-define is as the same form.

Link: http://lkml.kernel.org/r/20200612092844.56107-3-richard.weiyang@linux.alibaba.com
Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/trace/trace_events.h

index a4994761bdafd2d985e5aa1ef1c8eb8886592e95..5219f81b9d748625dbf50ad1f9bbc79822e190fd 100644 (file)
@@ -520,10 +520,6 @@ static inline notrace int trace_event_get_offsets_##call(          \
        return __data_size;                                             \
 }
 
-#undef DEFINE_EVENT_PRINT
-#define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
-       DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
-
 #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
 
 /*