[PATCH v2 4/4] trace: clean up funny line breaks in stat_seq_show

From: Steven Rostedt
Date: Tue Jan 06 2009 - 23:17:56 EST


From: Steven Rostedt <srostedt@xxxxxxxxxx>

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@xxxxxxxxxx>
---
kernel/trace/trace_stat.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/kernel/trace/trace_stat.c b/kernel/trace/trace_stat.c
index 4cb4ff2..f110ce9 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)

static int stat_seq_show(struct seq_file *s, void *v)
{
- struct trace_stat_list *entry =
- list_entry(v, struct trace_stat_list, list);
+ struct trace_stat_list *entry;
+
+ entry = list_entry(v, struct trace_stat_list, list);

return current_tracer.stat_show(s, entry->stat);
}
--
1.5.6.5

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/