Commit 58f7e4d7 authored by Jianhui Zhou's avatar Jianhui Zhou Committed by Steven Rostedt (Google)
Browse files

ring-buffer: Remove unused function ring_buffer_nr_pages()



Because ring_buffer_nr_pages() is not an inline function and user accesses
buffer->buffers[cpu]->nr_pages directly, the function ring_buffer_nr_pages
is removed.

Signed-off-by: default avatarJianhui Zhou <912460177@qq.com>
Link: https://lore.kernel.org/tencent_F4A7E9AB337F44E0F4B858D07D19EF460708@qq.com


Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent bcf86c01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment