]> git.baikalelectronics.ru Git - kernel.git/commit
perf script: Kill script_spec__delete
authorNamhyung Kim <namhyung@gmail.com>
Tue, 27 Dec 2011 15:35:51 +0000 (00:35 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Jan 2012 17:06:34 +0000 (15:06 -0200)
commit13ed785982dfb9343ae10a1fe21098bf81838de5
tree169737d7f58146fb69f3c3215bcd3df73dec051a
parent3789fba1a7d0229d2f2a27c54dfbcf98db349e92
perf script: Kill script_spec__delete

As script_spec__delete() frees given struct script_spec it should not be
called if we failed to allocate the struct. Also it's the only caller of
the function, we can get rid of the function itself.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1325000151-4463-4-git-send-email-namhyung@gmail.com
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c