From 3804a0bc9cc567db51486ec5f6fc6d624ff802a4 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 15 Mar 2012 14:09:51 +0100 Subject: [PATCH] gfio: remove ->job_added, it's only ever set Signed-off-by: Jens Axboe --- gfio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gfio.c b/gfio.c index 58faaaf9..6c2b797f 100644 --- a/gfio.c +++ b/gfio.c @@ -189,7 +189,6 @@ struct gfio_client { struct gui_entry *ge; struct fio_client *client; GtkWidget *err_entry; - unsigned int job_added; struct thread_options o; struct end_results *results; @@ -1883,8 +1882,6 @@ static void gfio_add_job_op(struct fio_client *client, struct fio_net_cmd *cmd) multitext_set_entry(&ge->eta.ioengine, 0); multitext_set_entry(&ge->eta.iodepth, 0); - gc->job_added++; - gfio_set_state(ge, GE_STATE_JOB_SENT); gdk_threads_leave(); -- 2.25.1