mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ahio.lee0@gmail.com
To: trivial@kernel.org
Cc: Ahio Lee <ahio.lee0@gmail.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] tracing: Remove blank line before right brace '}'
Date: Sun,  5 Apr 2020 22:27:29 +0800	[thread overview]
Message-ID: <20200405142729.16028-1-ahio.lee0@gmail.com> (raw)

From: Ahio Lee <ahio.lee0@gmail.com>

No need to insert a weird blank line before right brace '}'.

Signed-off-by: Ahio Lee <ahio.lee0@gmail.com>
---
 kernel/trace/ring_buffer.c   | 1 -
 kernel/trace/trace.c         | 2 --
 kernel/trace/trace_irqsoff.c | 1 -
 3 files changed, 4 deletions(-)

diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 61f0e92ace99..9db44db5642a 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -3095,7 +3095,6 @@ void ring_buffer_discard_commit(struct trace_buffer *buffer,
 	trace_recursive_unlock(cpu_buffer);
 
 	preempt_enable_notrace();
-
 }
 EXPORT_SYMBOL_GPL(ring_buffer_discard_commit);
 
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 6b11e4e2150c..b780934547d3 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2973,7 +2973,6 @@ static void __ftrace_trace_stack(struct trace_buffer *buffer,
 	barrier();
 	__this_cpu_dec(ftrace_stack_reserve);
 	preempt_enable_notrace();
-
 }
 
 static inline void ftrace_trace_stack(struct trace_array *tr,
@@ -8195,7 +8194,6 @@ create_trace_option_file(struct trace_array *tr,
 
 	topt->entry = trace_create_file(opt->name, 0644, t_options, topt,
 				    &trace_options_fops);
-
 }
 
 static void
diff --git a/kernel/trace/trace_irqsoff.c b/kernel/trace/trace_irqsoff.c
index 10bbb0f381d5..042452ecd18e 100644
--- a/kernel/trace/trace_irqsoff.c
+++ b/kernel/trace/trace_irqsoff.c
@@ -228,7 +228,6 @@ static void irqsoff_trace_open(struct trace_iterator *iter)
 {
 	if (is_graph(iter->tr))
 		graph_trace_open(iter);
-
 }
 
 static void irqsoff_trace_close(struct trace_iterator *iter)
-- 
2.11.0


             reply	other threads:[~2020-04-05 14:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05 14:27 ahio.lee0 [this message]
2020-04-06 15:12 ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200405142729.16028-1-ahio.lee0@gmail.com \
    --to=ahio.lee0@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®