diff options
| author | Dan Carpenter <[email protected]> | 2017-07-22 07:36:10 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-26 01:43:17 +0000 |
| commit | 2ec5cab604b2bbc5abe7138b537199762bea59ce (patch) | |
| tree | ebf9c9eee81b198681e523fcebf5ddd9490240e1 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf top: Support lookup of symbols in other mount namespaces. (diff) | |
| download | kernel-2ec5cab604b2bbc5abe7138b537199762bea59ce.tar.gz kernel-2ec5cab604b2bbc5abe7138b537199762bea59ce.zip | |
perf script: Remove some bogus error handling
If script_desc__new() fails then the current code has a NULL
dereference. We don't actually need to do any cleanup, we can just
return NULL.
Signed-off-by: Dan Carpenter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20170722073610.nnsyiwdcfl6bhn4t@mwanda
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
