Re: [PATCH] ring-buffer: Remove unused function __rb_data_page_index()

2017-12-04 Thread Steven Rostedt
On Wed, 17 May 2017 17:14:15 -0700 Matthias Kaehlcke wrote: > This fixes the following warning when building with clang: > > kernel/trace/ring_buffer.c:1842:1: error: unused function > '__rb_data_page_index' [-Werror,-Wunused-function] Ug, I this patch somehow fell through. I'm applying it

Re: [PATCH] ring-buffer: Remove unused function __rb_data_page_index()

2017-05-18 Thread Doug Anderson
Hi, On Thu, May 18, 2017 at 12:46 PM, Steven Rostedt wrote: > On Thu, 18 May 2017 12:40:02 -0700 > Doug Anderson wrote: > >> Hi, >> >> This appears to have been introduced in 2009 by commit afbab76a62b6 >> ("ring-buffer: have read page swap increment counter with page >> entries"), which removed

Re: [PATCH] ring-buffer: Remove unused function __rb_data_page_index()

2017-05-18 Thread Steven Rostedt
On Thu, 18 May 2017 12:40:02 -0700 Doug Anderson wrote: > Hi, > > This appears to have been introduced in 2009 by commit afbab76a62b6 > ("ring-buffer: have read page swap increment counter with page > entries"), which removed the user of the function but not the function > itself. If folks were

Re: [PATCH] ring-buffer: Remove unused function __rb_data_page_index()

2017-05-18 Thread Doug Anderson
Hi, This appears to have been introduced in 2009 by commit afbab76a62b6 ("ring-buffer: have read page swap increment counter with page entries"), which removed the user of the function but not the function itself. If folks were so inclined, this could be picked back to linux-stable, but I'm not s

[PATCH] ring-buffer: Remove unused function __rb_data_page_index()

2017-05-17 Thread Matthias Kaehlcke
This fixes the following warning when building with clang: kernel/trace/ring_buffer.c:1842:1: error: unused function '__rb_data_page_index' [-Werror,-Wunused-function] Signed-off-by: Matthias Kaehlcke --- kernel/trace/ring_buffer.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/ke