]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ring-buffer: Remove obsolete rb_event_is_commit()
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 17 Nov 2020 05:37:03 +0000 (06:37 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 7 Dec 2020 23:08:53 +0000 (18:08 -0500)
commita32ded3389abcc51a39fc7cb5f1793f7e5abaa88
treeeb389296712d7c02aba1c92b8c084edaa24e70dc
parent5b7be9c709e10e88531f1f81e1150bbad65be1aa
ring-buffer: Remove obsolete rb_event_is_commit()

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.

Link: https://lkml.kernel.org/r/20201117053703.11275-1-lukas.bulwahn@gmail.com
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c