Skip to content

Commit

Permalink
tracing: Remove unused __bad_type_size() method
Browse files Browse the repository at this point in the history
__bad_type_size() is unused after
commit 04ae87a("ftrace: Rework event_create_dir()").
So, remove it.

Link: https://lkml.kernel.org/r/D062EC2E-7DB7-4402-A67E-33C3577F551E@gmail.com

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
  • Loading branch information
Qiujun Huang authored and Steven Rostedt (Google) committed Nov 18, 2022
1 parent 1b5f1c3 commit b875206
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ print_syscall_exit(struct trace_iterator *iter, int flags,
return trace_handle_return(s);
}

extern char *__bad_type_size(void);

#define SYSCALL_FIELD(_type, _name) { \
.type = #_type, .name = #_name, \
.size = sizeof(_type), .align = __alignof__(_type), \
Expand Down

0 comments on commit b875206

Please sign in to comment.