ftrace: remove unused function arg in trace_iterator_increment()
authorRobert Richter <robert.richter@amd.com>
Wed, 12 Nov 2008 11:59:32 +0000 (12:59 +0100)
committerRobert Richter <robert.richter@amd.com>
Wed, 10 Dec 2008 13:20:12 +0000 (14:20 +0100)
This removes the unused cpu function parameter.

Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
kernel/trace/trace.c

index d86e325..a96b335 100644 (file)
@@ -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();
@@ -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;
 }