]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf tests mmap-basic: Remove unused variable to address clang 15 warning
authorJiri Olsa <jolsa@kernel.org>
Thu, 29 Sep 2022 14:05:14 +0000 (16:05 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2022 18:08:51 +0000 (15:08 -0300)
commit5551717bddb0c8aa78c4d2f8846624e2cf6816f7
tree84b7ca95bff7153921c00dda82f095ed86088550
parent5149a427d27751da95b04fabe98ab65f412b5777
perf tests mmap-basic: Remove unused variable to address clang 15 warning

A clang 15 build reveal several unused-but-set variables, removing the
'foo' variable in tests/mmap-basic.o object to address one of those
cases.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.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/20220929140514.226807-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/mmap-basic.c