]> git.itanic.dy.fi Git - linux-stable/commitdiff
perf lock: Remove stale comments
authorNamhyung Kim <namhyung@kernel.org>
Wed, 28 Jun 2023 20:01:38 +0000 (13:01 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sat, 1 Jul 2023 17:48:09 +0000 (10:48 -0700)
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 <irogers@google.com>
Cc: Hao Luo <haoluo@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230628200141.2739587-2-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-lock.c

index da36ace66d682eb189605a383959c000483185ee..187efb651436900561a8e1078c2164203612a2ae 100644 (file)
@@ -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);