Skip to contentSkip to conversation

perf timechart: Remove redundant assignment

PATCH New Wei Li 1 participant 1 message May 11, 2020 perf events

lore
Share & tools
lore

Wei Li

author
#0 lore raw

PATCH 1/1 perf timechart: Remove redundant assignment

Remove redundant assignment, no functional change.

---
 tools/perf/builtin-timechart.c | 1 -
 1 file changed, 1 deletion(-)
tools/perf/builtin-timechart.c +0 -1
index 9e84fae9b096..5e4f809d7e5d 100644
@@ -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;
 
Signature · 1 line
2.17.1