Re: [PATCH 3/3] perf script: Remove duplicated code and needless a script_spec__findnew()

From: Jiri Olsa
Date: Thu Feb 25 2016 - 14:02:30 EST


On Fri, Feb 26, 2016 at 12:13:10AM +0900, Taeung Song wrote:
> script_spec_register() called two functions
> script_spec__find() and script_spec__findnew().
> But script_spec__find() was called two times.
>
> So remove script_spec__findnew() and make
> script_spec_register() only call once script_spec__find().
>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Signed-off-by: Taeung Song <treeze.taeung@xxxxxxxxx>

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka