Skip to content

Commit 423478c

Browse files
committed
tracing: Remove useless syscall ftrace_event_call declaration
It is defined right after, which makes the declaration completely useless. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Li Zefan <[email protected]> Cc: Jason Baron <[email protected]>
1 parent 53cf810 commit 423478c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/syscalls.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
127127
#define SYSCALL_TRACE_ENTER_EVENT(sname) \
128128
static struct syscall_metadata \
129129
__attribute__((__aligned__(4))) __syscall_meta_##sname; \
130-
static struct ftrace_event_call \
131-
__attribute__((__aligned__(4))) event_enter_##sname; \
132130
static struct ftrace_event_call __used \
133131
__attribute__((__aligned__(4))) \
134132
__attribute__((section("_ftrace_events"))) \
@@ -143,8 +141,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
143141
#define SYSCALL_TRACE_EXIT_EVENT(sname) \
144142
static struct syscall_metadata \
145143
__attribute__((__aligned__(4))) __syscall_meta_##sname; \
146-
static struct ftrace_event_call \
147-
__attribute__((__aligned__(4))) event_exit_##sname; \
148144
static struct ftrace_event_call __used \
149145
__attribute__((__aligned__(4))) \
150146
__attribute__((section("_ftrace_events"))) \

0 commit comments

Comments
 (0)