diff options
author | Steven Rostedt (Google) <[email protected]> | 2023-12-20 08:10:28 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-01-09 22:54:37 -0500 |
commit | 25742aeb135c4a44e92fb347e037adaa145b9484 (patch) | |
tree | 5c6474657fde3b9ee0747e380aad3e22f4c19447 /rust/helpers.c | |
parent | 4f1991a92cfe89096b2d1f5583a2e093bdd55c37 (diff) |
ring-buffer: Remove stale comment from ring_buffer_size()
It's been 11 years since the ring_buffer_size() function was updated to
use the nr_pages from the buffer->buffers[cpu] structure instead of using
the buffer->nr_pages that no longer exists.
The comment in the code is more of what a change log should have and is
pretty much useless for development. It's saying how things worked back in
2012 that bares no purpose on today's code. Remove it.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]/
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Reported-by: David Laight <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions