[for-linus][PATCH 13/15] ftrace: Format variable declarations of ftrace_allocate_records

Steven Rostedt
2020-10-06T14:35:44Z

From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

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

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
kernel/trace/ftrace.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index c3be18b4f27b..4833b6a82ce7 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -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;
--
2.28.0