Skip to content

Commit

Permalink
ftrace: Format variable declarations of ftrace_allocate_records
Browse files Browse the repository at this point in the history
I hate when unrelated variables are declared on the same line.
Split them.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
Steven Rostedt (VMware) committed Oct 8, 2020
1 parent b40c6ea commit 7ba031e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -3129,7 +3129,8 @@ static int ftrace_update_code(struct module *mod, struct ftrace_page *new_pgs)
static int ftrace_allocate_records(struct ftrace_page *pg, int count)
{
int order;
int pages, cnt;
int pages;
int cnt;

if (WARN_ON(!count))
return -EINVAL;
Expand Down

0 comments on commit 7ba031e

Please sign in to comment.