Skip to content

Commit

Permalink
trace: clean up funny line breaks in stat_seq_show
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Jan 7, 2009
1 parent ff288b2 commit e8a9cbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kernel/trace/trace_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e8a9cbf

Please sign in to comment.