[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1229007886-14362-11-git-send-email-robert.richter@amd.com>
Date: Thu, 11 Dec 2008 16:04:46 +0100
From: Robert Richter <robert.richter@....com>
To: oprofile-list <oprofile-list@...ts.sourceforge.net>
CC: LKML <linux-kernel@...r.kernel.org>,
Robert Richter <robert.richter@....com>,
Steven Rostedt <rostedt@...dmis.org>
Subject: [PATCH 10/10] ftrace: remove unused function arg in trace_iterator_increment()
This removes the unused cpu function parameter.
Cc: Steven Rostedt <rostedt@...dmis.org>
Signed-off-by: Robert Richter <robert.richter@....com>
---
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 d86e325..a96b335 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -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;
}
--
1.6.0.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists