aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-01-06 22:02:35 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-07 04:45:39 -0500
commite8a9cbf6ae620d9e5ba9cb42001c033287a284a3 (patch)
tree17e59c756102255be8c9ea3f24372e5a62fc2e85
parentff288b274a9b383046fdbda4be3067daba4d5fe8 (diff)
trace: clean up funny line breaks in stat_seq_show
Impact: clean up Andrew Morton pointed out that the entry assignment in stat_seq_show did not need to be done in the declaration, causing funny line breaks. This patch makes it a bit more pleasing on the eyes. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/trace/trace_stat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/trace/trace_stat.c b/kernel/trace/trace_stat.c
index 4cb4ff27646d..f110ce9ce7fb 100644
--- a/kernel/trace/trace_stat.c
+++ b/kernel/trace/trace_stat.c
@@ -178,8 +178,9 @@ static void stat_seq_stop(struct seq_file *m, void *p)
178 178
179static int stat_seq_show(struct seq_file *s, void *v) 179static int stat_seq_show(struct seq_file *s, void *v)
180{ 180{
181 struct trace_stat_list *entry = 181 struct trace_stat_list *entry;
182 list_entry(v, struct trace_stat_list, list); 182
183 entry = list_entry(v, struct trace_stat_list, list);
183 184
184 return current_tracer.stat_show(s, entry->stat); 185 return current_tracer.stat_show(s, entry->stat);
185} 186}