Skip to content

Commit

Permalink
tracing/core: remove unused parameter in tracing_fill_pipe_page()
Browse files Browse the repository at this point in the history
Impact: cleanup

The struct page *pages parameter is unused.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Feb 18, 2009
1 parent 6eaaa5d commit fa7c7f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2571,8 +2571,7 @@ static struct pipe_buf_operations tracing_pipe_buf_ops = {
};

static size_t
tracing_fill_pipe_page(struct page *pages, size_t rem,
struct trace_iterator *iter)
tracing_fill_pipe_page(size_t rem, struct trace_iterator *iter)
{
size_t count;
int ret;
Expand Down Expand Up @@ -2649,7 +2648,7 @@ static ssize_t tracing_splice_read_pipe(struct file *filp,
if (!pages[i])
break;

rem = tracing_fill_pipe_page(pages[i], rem, iter);
rem = tracing_fill_pipe_page(rem, iter);

/* Copy the data into the page, so we can start over. */
ret = trace_seq_to_buffer(&iter->seq,
Expand Down

0 comments on commit fa7c7f6

Please sign in to comment.