diff options
author | Robert Richter <robert.richter@amd.com> | 2008-11-12 06:59:32 -0500 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-12-10 08:20:12 -0500 |
commit | e2ac8ef576e45d9db7264abc51383e68d26067bb (patch) | |
tree | a24108104aba3627039dad63c952f3f4c0dcacb7 /kernel | |
parent | 68814b58c52077da9561b544089fe532a0842f71 (diff) |
ftrace: remove unused function arg in trace_iterator_increment()
This removes the unused cpu function parameter.
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index d86e3252f300..a96b335fe75c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -914,7 +914,7 @@ enum trace_file_type { | |||
914 | TRACE_FILE_LAT_FMT = 1, | 914 | TRACE_FILE_LAT_FMT = 1, |
915 | }; | 915 | }; |
916 | 916 | ||
917 | static void trace_iterator_increment(struct trace_iterator *iter, int cpu) | 917 | static void trace_iterator_increment(struct trace_iterator *iter) |
918 | { | 918 | { |
919 | /* Don't allow ftrace to trace into the ring buffers */ | 919 | /* Don't allow ftrace to trace into the ring buffers */ |
920 | ftrace_disable_cpu(); | 920 | ftrace_disable_cpu(); |
@@ -993,7 +993,7 @@ static void *find_next_entry_inc(struct trace_iterator *iter) | |||
993 | iter->ent = __find_next_entry(iter, &iter->cpu, &iter->ts); | 993 | iter->ent = __find_next_entry(iter, &iter->cpu, &iter->ts); |
994 | 994 | ||
995 | if (iter->ent) | 995 | if (iter->ent) |
996 | trace_iterator_increment(iter, iter->cpu); | 996 | trace_iterator_increment(iter); |
997 | 997 | ||
998 | return iter->ent ? iter : NULL; | 998 | return iter->ent ? iter : NULL; |
999 | } | 999 | } |