Skip to content

Commit

Permalink
ftrace: remove unused function arg in trace_iterator_increment()
Browse files Browse the repository at this point in the history
This removes the unused cpu function parameter.

Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
  • Loading branch information
Robert Richter committed Dec 10, 2008
1 parent 68814b5 commit e2ac8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ enum trace_file_type {
TRACE_FILE_LAT_FMT = 1,
};

static void trace_iterator_increment(struct trace_iterator *iter, int cpu)
static void trace_iterator_increment(struct trace_iterator *iter)
{
/* Don't allow ftrace to trace into the ring buffers */
ftrace_disable_cpu();
Expand Down Expand Up @@ -993,7 +993,7 @@ static void *find_next_entry_inc(struct trace_iterator *iter)
iter->ent = __find_next_entry(iter, &iter->cpu, &iter->ts);

if (iter->ent)
trace_iterator_increment(iter, iter->cpu);
trace_iterator_increment(iter);

return iter->ent ? iter : NULL;
}
Expand Down

0 comments on commit e2ac8ef

Please sign in to comment.