diff options
author | 2022-08-23 07:56:05 +0000 | |
---|---|---|
committer | 2022-10-04 08:55:21 -0300 | |
commit | 016f2f9821bd5d056d454aefa603f8b4f7d0e0f0 (patch) | |
tree | 8a1a4736f0989f373b433cc00a9f21084e355019 /tools/perf/util/intel-pt-decoder/intel-pt-log.c | |
parent | perf c2c: Add helpers to get counts of loads or stores (diff) | |
download | linux-dev-016f2f9821bd5d056d454aefa603f8b4f7d0e0f0.tar.xz linux-dev-016f2f9821bd5d056d454aefa603f8b4f7d0e0f0.zip |
perf callchain: Remove unneeded 'result' variable
Return the value scnprintf() directly instead of storing it in a
redundant variable.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Cc: Alexandre Truong <alexandre.truong@arm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt-decoder/intel-pt-log.c')
0 files changed, 0 insertions, 0 deletions