提交 e8a9cbf6 编写于 作者: S Steven Rostedt 提交者: Ingo Molnar

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: NSteven Rostedt <srostedt@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 ff288b27
...@@ -178,8 +178,9 @@ static void stat_seq_stop(struct seq_file *m, void *p) ...@@ -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) static int stat_seq_show(struct seq_file *s, void *v)
{ {
struct trace_stat_list *entry = struct trace_stat_list *entry;
list_entry(v, struct trace_stat_list, list);
entry = list_entry(v, struct trace_stat_list, list);
return current_tracer.stat_show(s, entry->stat); return current_tracer.stat_show(s, entry->stat);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册