[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200511063326.27961-1-liwei391@huawei.com>
Date: Mon, 11 May 2020 14:33:26 +0800
From: Wei Li <liwei391@...wei.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
"Namhyung Kim" <namhyung@...nel.org>
CC: <linux-kernel@...r.kernel.org>
Subject: [PATCH] perf timechart: Remove redundant assignment
Remove redundant assignment, no functional change.
Signed-off-by: Wei Li <liwei391@...wei.com>
---
tools/perf/builtin-timechart.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index 9e84fae9b096..5e4f809d7e5d 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -1149,7 +1149,6 @@ static void draw_io_bars(struct timechart *tchart)
}
svg_box(Y, c->start_time, c->end_time, "process3");
- sample = c->io_samples;
for (sample = c->io_samples; sample; sample = sample->next) {
double h = (double)sample->bytes / c->max_bytes;
--
2.17.1
Powered by blists - more mailing lists