[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20221118101811.7d120f813149f7da8ba907a2@kernel.org>
Date: Fri, 18 Nov 2022 10:18:11 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: Qiujun Huang <hqjagain@...il.com>
Cc: rostedt@...dmis.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tracing: remove __bad_type_size() method
On Fri, 18 Nov 2022 00:44:35 +0800
Qiujun Huang <hqjagain@...il.com> wrote:
>
> __bad_type_size() is unused after
> commit 04ae87a52074("ftrace: Rework event_create_dir()").
> So, remove it.
>
This looks good to me.
Acked-by: Masami Hiramatsu (Google) <mhiramat@...nel.org>
Thanks!
> Signed-off-by: Qiujun Huang <hqjagain@...il.com>
> ---
> kernel/trace/trace_syscalls.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
> index b69e207012c9..942ddbdace4a 100644
> --- a/kernel/trace/trace_syscalls.c
> +++ b/kernel/trace/trace_syscalls.c
> @@ -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), \
> --
> 2.30.2
--
Masami Hiramatsu (Google) <mhiramat@...nel.org>
Powered by blists - more mailing lists