aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2023-01-20 14:34:51 +0200
committerArnaldo Carvalho de Melo <[email protected]>2023-01-22 18:10:18 -0300
commit477d5e35b42b6ca6e1db229977c1ca33456babd7 (patch)
tree93e3ad9556ca5521fcfcc7556f26c8dcaf8ec2ba /tools/perf/scripts/python
parenta2db72c5dac4c9bc1e577a82602639619264409f (diff)
perf symbols: Slightly simplify 'err' usage in dso__synthesize_plt_symbols()
Return zero directly instead of needless 'goto out_elf_end' that does the same thing. That allows 'err' to be initialized to -1 instead of having to change its value later. Signed-off-by: Adrian Hunter <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions