diff options
author | Yordan Karadzhov (VMware) <y.karadz@gmail.com> | 2021-03-29 15:03:31 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-04-01 20:18:32 +0200 |
commit | f3ef7202ef7c705d640d1aeec3b286a641ac9186 (patch) | |
tree | 9e516e2876c6168d74a6baee5a7d8e6b482b744c /kernel/trace/ring_buffer.c | |
parent | tracing: Remove duplicate struct declaration in trace_events.h (diff) | |
download | linux-f3ef7202ef7c705d640d1aeec3b286a641ac9186.tar.xz linux-f3ef7202ef7c705d640d1aeec3b286a641ac9186.zip |
tracing: Remove unused argument from "ring_buffer_time_stamp()
The "cpu" parameter is not being used by the function.
Link: https://lkml.kernel.org/r/20210329130331.199402-1-y.karadz@gmail.com
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
-rw-r--r-- | kernel/trace/ring_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index f4216df58e31..2c0ee6484990 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c @@ -1080,7 +1080,7 @@ static inline u64 rb_time_stamp(struct trace_buffer *buffer) return ts << DEBUG_SHIFT; } -u64 ring_buffer_time_stamp(struct trace_buffer *buffer, int cpu) +u64 ring_buffer_time_stamp(struct trace_buffer *buffer) { u64 time; |