From 7b83d597c8cab98caf18e2a3e2198c33068fcbad Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Wed, 28 Jun 2023 13:01:38 -0700 Subject: [PATCH] perf lock: Remove stale comments The comment was for symbol_conf.sort_by_name which was deleted already. Let's get rid of the stale comments as well. Acked-by: Ian Rogers Cc: Hao Luo Cc: Peter Zijlstra Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Song Liu Link: https://lore.kernel.org/r/20230628200141.2739587-2-namhyung@kernel.org Signed-off-by: Namhyung Kim --- tools/perf/builtin-lock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index da36ace..187efb6 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c @@ -1773,7 +1773,6 @@ static int __cmd_report(bool display_info) return PTR_ERR(session); } - /* for lock function check */ symbol_conf.allow_aliases = true; symbol__init(&session->header.env); @@ -1902,7 +1901,6 @@ static int __cmd_contention(int argc, const char **argv) if (con.aggr_mode == LOCK_AGGR_CALLER) con.save_callstack = true; - /* for lock function check */ symbol_conf.allow_aliases = true; symbol__init(&session->header.env); -- 2.7.4