2015-11-03 18:48:39

by Dmitry Safonov

[permalink] [raw]
Subject: [PATCH] trace: remove redundant TP_ARGS redefining

TP_ARGS is not used anywhere in trace.h nor trace_entries.h
Firstly, I left just #undef TP_ARGS and had no errors - remove it.

Signed-off-by: Dmitry Safonov <[email protected]>
---
kernel/trace/trace.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 74bde81601a902..423b52c339c8c1 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -71,9 +71,6 @@ enum trace_type {
tstruct \
}

-#undef TP_ARGS
-#define TP_ARGS(args...) args
-
#undef FTRACE_ENTRY_DUP
#define FTRACE_ENTRY_DUP(name, name_struct, id, tstruct, printk, filter)

--
2.6.2