Skip to content

Commit b875206

Browse files
Qiujun Huangrostedt
authored andcommitted
tracing: Remove unused __bad_type_size() method
__bad_type_size() is unused after commit 04ae87a("ftrace: Rework event_create_dir()"). So, remove it. Link: https://lkml.kernel.org/r/[email protected] Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Qiujun Huang <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 1b5f1c3 commit b875206

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/trace/trace_syscalls.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ print_syscall_exit(struct trace_iterator *iter, int flags,
201201
return trace_handle_return(s);
202202
}
203203

204-
extern char *__bad_type_size(void);
205-
206204
#define SYSCALL_FIELD(_type, _name) { \
207205
.type = #_type, .name = #_name, \
208206
.size = sizeof(_type), .align = __alignof__(_type), \

0 commit comments

Comments
 (0)