mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
ring_buffer: Remove unused "event" parameter
After commit a389d86f7f ("ring-buffer: Have nested events still record
running time stamp"), the "event" parameter is no longer used in either
ring_buffer_unlock_commit() or rb_commit(). Best to remove it.
Link: https://lkml.kernel.org/r/1666274811-24138-1-git-send-email-chensong_2000@189.cn
Signed-off-by: Song Chen <chensong_2000@189.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
This commit is contained in:
committed by
Steven Rostedt (Google)
parent
a01fdc897f
commit
04aabc32fb
@@ -113,8 +113,7 @@ void ring_buffer_change_overwrite(struct trace_buffer *buffer, int val);
|
||||
|
||||
struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer,
|
||||
unsigned long length);
|
||||
int ring_buffer_unlock_commit(struct trace_buffer *buffer,
|
||||
struct ring_buffer_event *event);
|
||||
int ring_buffer_unlock_commit(struct trace_buffer *buffer);
|
||||
int ring_buffer_write(struct trace_buffer *buffer,
|
||||
unsigned long length, void *data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user