1
0
Fork 0

ftrace: Format variable declarations of ftrace_allocate_records

I hate when unrelated variables are declared on the same line.
Split them.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
zero-sugar-mainline-defconfig
Steven Rostedt (VMware) 2020-10-05 20:37:41 -04:00
parent b40c6eabfc
commit 7ba031e8b7
1 changed files with 2 additions and 1 deletions

View File

@ -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;