summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-22 10:36:10 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-25 22:43:17 -0300
commit2ec5cab604b2bbc5abe7138b537199762bea59ce (patch)
treeebf9c9eee81b198681e523fcebf5ddd9490240e1 /tools/perf/util/scripting-engines
parent868a832918f621b7576655c00067f20326ef3931 (diff)
downloadlinux-stable-2ec5cab604b2bbc5abe7138b537199762bea59ce.tar.gz
linux-stable-2ec5cab604b2bbc5abe7138b537199762bea59ce.tar.bz2
linux-stable-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 <dan.carpenter@oracle.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: kernel-janitors@vger.kernel.org Link: http://lkml.kernel.org/r/20170722073610.nnsyiwdcfl6bhn4t@mwanda Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions