aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2017-01-23 14:10:19 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-01-26 14:42:56 +0000
commitd1d0e29cb7d03a6019caa125e4c0288366a4f359 (patch)
treee59c45c7a0d6bdc9a5dd27bc00b47d381890a6d5 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf probe: Delete an unnecessary check in try_to_find_absolute_address() (diff)
downloadkernel-d1d0e29cb7d03a6019caa125e4c0288366a4f359.tar.gz
kernel-d1d0e29cb7d03a6019caa125e4c0288366a4f359.zip
perf probe: Delete an unnecessary assignment in try_to_find_absolute_address()
Remove an error code assignment which is redundant in an if branch for the handling of a memory allocation failure because the same value was set for the local variable "err" before. Signed-off-by: Markus Elfring <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: He Kuang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Milian Wolff <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: Wang Nan <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions