mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00: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:
parent
a01fdc897f
commit
04aabc32fb
4 changed files with 8 additions and 11 deletions
|
@ -999,7 +999,7 @@ __buffer_unlock_commit(struct trace_buffer *buffer, struct ring_buffer_event *ev
|
|||
/* ring_buffer_unlock_commit() enables preemption */
|
||||
preempt_enable_notrace();
|
||||
} else
|
||||
ring_buffer_unlock_commit(buffer, event);
|
||||
ring_buffer_unlock_commit(buffer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue