[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201117161938.GA1271942@ubuntu-m3-large-x86>
Date: Tue, 17 Nov 2020 09:19:38 -0700
From: Nathan Chancellor <natechancellor@...il.com>
To: Lukas Bulwahn <lukas.bulwahn@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>, Arnd Bergmann <arnd@...db.de>,
Tom Rix <trix@...hat.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
clang-built-linux@...glegroups.com,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ring-buffer: remove obsolete rb_event_is_commit()
On Tue, Nov 17, 2020 at 06:37:03AM +0100, Lukas Bulwahn wrote:
> Commit a389d86f7fd0 ("ring-buffer: Have nested events still record running
> time stamp") removed the only uses of rb_event_is_commit() in
> rb_update_event() and rb_update_write_stamp().
>
> Hence, since then, make CC=clang W=1 warns:
>
> kernel/trace/ring_buffer.c:2763:1:
> warning: unused function 'rb_event_is_commit' [-Wunused-function]
>
> Remove this obsolete function.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@...il.com>
> ---
Reviewed-by: Nathan Chancellor <natechancellor@...il.com>
Powered by blists - more mailing lists