diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-03-27 10:47:20 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-03-27 10:58:09 -0400 |
commit | b0ad8ea66445d64a469df0c710947f4cdb8ef16b (patch) | |
tree | b9d137508c516b45b8a0618a9bf34617291c1d10 /tools/perf/bench/futex-hash.c | |
parent | 6963d3c387ec123753788838785e68928cb87c1b (diff) |
perf tools: Remove unused 'prefix' from builtin functions
We got it from the git sources but never used it for anything, with the
place where this would be somehow used remaining:
static int run_builtin(struct cmd_struct *p, int argc, const char **argv)
{
prefix = NULL;
if (p->option & RUN_SETUP)
prefix = NULL; /* setup_perf_directory(); */
Ditch it.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-uw5swz05vol0qpr32c5lpvus@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench/futex-hash.c')
-rw-r--r-- | tools/perf/bench/futex-hash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/bench/futex-hash.c b/tools/perf/bench/futex-hash.c index 2499e1b0c6fb..fe16b310097f 100644 --- a/tools/perf/bench/futex-hash.c +++ b/tools/perf/bench/futex-hash.c | |||
@@ -114,8 +114,7 @@ static void print_summary(void) | |||
114 | (int) runtime.tv_sec); | 114 | (int) runtime.tv_sec); |
115 | } | 115 | } |
116 | 116 | ||
117 | int bench_futex_hash(int argc, const char **argv, | 117 | int bench_futex_hash(int argc, const char **argv) |
118 | const char *prefix __maybe_unused) | ||
119 | { | 118 | { |
120 | int ret = 0; | 119 | int ret = 0; |
121 | cpu_set_t cpu; | 120 | cpu_set_t cpu; |