Messages in this thread | | | Date | Tue, 17 Nov 2020 09:19:38 -0700 | From | Nathan Chancellor <> | 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@gmail.com> > ---
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
| |