summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/mmap.c
diff options
context:
space:
mode:
authortangmeng <tangmeng@uniontech.com>2022-02-16 04:04:24 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-02-16 14:38:55 +0100
commit69c31f9647a824bcc8cb3fc3441a32dffd0667ec (patch)
tree989755cc8468a1e3fa763c725d01a84b3a443909 /tools/perf/util/mmap.c
parentperf top: Remove redundant 'err' variable (diff)
downloadlinux-69c31f9647a824bcc8cb3fc3441a32dffd0667ec.tar.xz
linux-69c31f9647a824bcc8cb3fc3441a32dffd0667ec.zip
perf annotate: Remove redundant 'ret' variable
Return the result from hist_entry_iter__add() directly instead of taking this in another redundant variable. Signed-off-by: tangmeng <tangmeng@uniontech.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20220216030425.27779-1-tangmeng@uniontech.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/mmap.c')
0 files changed, 0 insertions, 0 deletions