From: Steven Rostedt <rostedt@goodmis.org> To: Namhyung Kim <namhyung@kernel.org> Cc: Ingo Molnar <mingo@kernel.org>, Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>, LKML <linux-kernel@vger.kernel.org> Subject: Re: [PATCH] tracing: Get rid of obsolete global_start_up variable Date: Thu, 12 Jun 2014 11:19:41 -0400 [thread overview] Message-ID: <20140612111941.2699a898@gandalf.local.home> (raw) In-Reply-To: <1402584972-17824-1-git-send-email-namhyung@kernel.org> On Thu, 12 Jun 2014 23:56:12 +0900 Namhyung Kim <namhyung@kernel.org> wrote: > It seems like it's a leftover from commit 4104d326b670 ("ftrace: > Remove global function list and call function directly"). As it > isn't updated at all, checking its value is meaningless. > > Let's get rid of it. Thanks, I added this to my 3.17 queue. -- Steve > > Signed-off-by: Namhyung Kim <namhyung@kernel.org> > --- > kernel/trace/ftrace.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c > index cc07b7fc4372..071908f58e7a 100644 > --- a/kernel/trace/ftrace.c > +++ b/kernel/trace/ftrace.c > @@ -2053,7 +2053,6 @@ static void ftrace_run_update_code(int command) > > static ftrace_func_t saved_ftrace_func; > static int ftrace_start_up; > -static int global_start_up; > > static void control_ops_free(struct ftrace_ops *ops) > { > @@ -2117,8 +2116,7 @@ static int ftrace_shutdown(struct ftrace_ops *ops, int command) > > ftrace_hash_rec_disable(ops, 1); > > - if (!global_start_up) > - ops->flags &= ~FTRACE_OPS_FL_ENABLED; > + ops->flags &= ~FTRACE_OPS_FL_ENABLED; > > command |= FTRACE_UPDATE_CALLS; >
prev parent reply other threads:[~2014-06-12 15:19 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-06-12 14:56 Namhyung Kim 2014-06-12 15:19 ` Steven Rostedt [this message]
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=20140612111941.2699a898@gandalf.local.home \ --to=rostedt@goodmis.org \ --cc=linux-kernel@vger.kernel.org \ --cc=masami.hiramatsu.pt@hitachi.com \ --cc=mingo@kernel.org \ --cc=namhyung@kernel.org \ --subject='Re: [PATCH] tracing: Get rid of obsolete global_start_up variable' \ /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
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.