diff options
| author | Taeung Song <[email protected]> | 2016-02-26 00:13:10 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-25 16:14:33 -0300 |
| commit | 8560bae02a948876b26d1d86423cf5e0bb04a815 (patch) | |
| tree | d32a8c3cbd5c8c8a4e1bf3b46adbfd8e681ee8c3 /scripts/gdb/linux/dmesg.py | |
| parent | 8579aca3f9a8f890d6d94ccaed7cf5fd54a0c3bd (diff) | |
perf script: Remove duplicated code and needless script_spec__findnew()
script_spec_register() called two functions: script_spec__find() and
script_spec__findnew(). But this way script_spec__find() gets called
two times, directly and via script_spec__findnew().
So remove script_spec__findnew() and make script_spec_register() only
call once script_spec__find().
Signed-off-by: Taeung Song <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions