summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2018-12-28 14:38:47 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-02-06 11:58:33 -0500
commitd325c402964e7c63db94e9138c530832269a1297 (patch)
tree1c91c3aece96d2eb0a2d4eecfd3923722a1790db /include/linux
parentf52d569f3d929d9530d75976baa191d2d50fc51b (diff)
ring-buffer: Remove unused function ring_buffer_page_len()
Commit 6b7e633fe9c2 ("tracing: Remove extra zeroing out of the ring buffer page") removed the only caller of ring_buffer_page_len(). The function is now unused and may be removed. Link: http://lkml.kernel.org/r/20181228133847.106177-1-mbenes@suse.cz Signed-off-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ring_buffer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h
index 5b9ae62272bb..f1429675f252 100644
--- a/include/linux/ring_buffer.h
+++ b/include/linux/ring_buffer.h
@@ -187,8 +187,6 @@ void ring_buffer_set_clock(struct ring_buffer *buffer,
void ring_buffer_set_time_stamp_abs(struct ring_buffer *buffer, bool abs);
bool ring_buffer_time_stamp_abs(struct ring_buffer *buffer);
-size_t ring_buffer_page_len(void *page);
-
size_t ring_buffer_nr_pages(struct ring_buffer *buffer, int cpu);
size_t ring_buffer_nr_dirty_pages(struct ring_buffer *buffer, int cpu);