Messages in this thread | | | Subject | Re: [PATCH] ftrace: Remove a superfluous check | From | Steven Rostedt <> | Date | Thu, 29 Mar 2012 13:14:54 -0400 |
| |
On Thu, 2012-03-29 at 19:03 +0200, John Kacur wrote:
> > > > mutex_lock(&ftrace_lock); > > > > - if (unlikely(ftrace_disabled)) > > - goto out_unlock; > > - > > ret = __register_ftrace_function(ops); > > if (!ret) > > ret = ftrace_startup(ops, 0); > > > > - > > out_unlock: > > mutex_unlock(&ftrace_lock); > > return ret; > > -- > > If you're going to do this, then you can drop the label too. >
Yeah, can you resubmit with John's suggestion.
Thanks,
-- Steve
| |