iowatcher/main: remove written only variable 'plotted' is initialized to zero and incremented in a loop, but nobody ever looks at it. Kill it. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/iowatcher/main.c b/iowatcher/main.c index 4b97013..e80c228 100644 --- a/iowatcher/main.c +++ b/iowatcher/main.c
@@ -897,7 +897,6 @@ char *color; double avg = 0; int ymax; - int plotted = 0; if (active_graphs[active_index] == 0) return; @@ -971,7 +970,6 @@ svg_line_graph(plot, gld, color, avg + 30, 95); snprintf(line, line_len, " CPU %d\n", i - 1); svg_add_legend(plot, tf->label, line, color); - plotted++; break; }