]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf timechart: Remove redundant variable assignment
authorLuo Yifan <luoyifan@cmss.chinamobile.com>
Mon, 11 Nov 2024 09:52:09 +0000 (17:52 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Nov 2024 19:27:35 +0000 (16:27 -0300)
commitb81bb703372837a6d6b4cc964b6db58d1dfdba8b
tree34805f3e4c920111d63bbb76add3e03083453c5d
parentd99b3125726aade4f5ec4aae04805134ab4b0abd
perf timechart: Remove redundant variable assignment

This patch makes a minor change that removes a redundant variable
assignment. The assignment before the for loop is duplicated by the
initialization within the loop header.

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20241111095209.276332-1-luoyifan@cmss.chinamobile.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-timechart.c